Skip to content

Commit

Permalink
fix plandex-ai#12 - 'add' alias for 'load' command + 'unload' alias f…
Browse files Browse the repository at this point in the history
…or 'rm' command
  • Loading branch information
danenania committed Apr 3, 2024
1 parent 2ef6970 commit b60f127
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/cli/cmd/load.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ var (

var contextLoadCmd = &cobra.Command{
Use: "load [files-or-urls...]",
Aliases: []string{"l"},
Aliases: []string{"l", "add"},
Short: "Load context from various inputs",
Long: `Load context from a file path, a directory, a URL, a string, or piped data.`,
Run: contextLoad,
Expand Down
2 changes: 1 addition & 1 deletion app/cli/cmd/rm.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import (

var contextRmCmd = &cobra.Command{
Use: "rm",
Aliases: []string{"remove"},
Aliases: []string{"remove", "unload"},
Short: "Remove context",
Long: `Remove context by index, name, or glob.`,
Args: cobra.MinimumNArgs(1),
Expand Down

0 comments on commit b60f127

Please sign in to comment.