root.go

 1// SPDX-FileCopyrightText: Amolith <amolith@secluded.site>
 2//
 3// SPDX-License-Identifier: AGPL-3.0-or-later
 4
 5package cmd
 6
 7import (
 8	"git.secluded.site/np/cmd/g"
 9	"git.secluded.site/np/cmd/t"
10	"github.com/spf13/cobra"
11)
12
13var rootCmd = &cobra.Command{
14	Use:   "np",
15	Short: "nasin pali - task planning for LLM agents",
16	Long:  `A CLI tool for guiding LLMs through structured task planning and execution`,
17}
18
19func RootCmd() *cobra.Command {
20	return rootCmd
21}
22
23func init() {
24	rootCmd.AddCommand(g.GCmd)
25	rootCmd.AddCommand(t.TCmd)
26}