Skip to content

Commit

Permalink
chore: rename sdkserver subcommand to sys.sdkserver
Browse files Browse the repository at this point in the history
  • Loading branch information
ibuildthecloud committed Jun 13, 2024
1 parent ac679cd commit affa1b7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/cli/gptscript.go
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ type GPTScript struct {
ListModels bool `usage:"List the models available and exit" local:"true"`
ListTools bool `usage:"List built-in tools and exit" local:"true"`
Server bool `usage:"Start server" local:"true"`
ListenAddress string `usage:"Server listen address" default:"127.0.0.1:0" local:"true"`
ListenAddress string `usage:"Server listen address" default:"127.0.0.1:0"`
Chdir string `usage:"Change current working directory" short:"C"`
Daemon bool `usage:"Run tool as a daemon" local:"true" hidden:"true"`
Ports string `usage:"The port range to use for ephemeral daemon ports (ex: 11000-12000)" hidden:"true"`
Expand Down
1 change: 1 addition & 0 deletions pkg/cli/sdk_server.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ type SDKServer struct {
}

func (c *SDKServer) Customize(cmd *cobra.Command) {
cmd.Use = "sys.sdkserver"
cmd.Args = cobra.NoArgs
cmd.Hidden = true
}
Expand Down

0 comments on commit affa1b7

Please sign in to comment.