Skip to content

Commit affa1b7

Browse files
chore: rename sdkserver subcommand to sys.sdkserver
1 parent ac679cd commit affa1b7

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

pkg/cli/gptscript.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ type GPTScript struct {
5959
ListModels bool `usage:"List the models available and exit" local:"true"`
6060
ListTools bool `usage:"List built-in tools and exit" local:"true"`
6161
Server bool `usage:"Start server" local:"true"`
62-
ListenAddress string `usage:"Server listen address" default:"127.0.0.1:0" local:"true"`
62+
ListenAddress string `usage:"Server listen address" default:"127.0.0.1:0"`
6363
Chdir string `usage:"Change current working directory" short:"C"`
6464
Daemon bool `usage:"Run tool as a daemon" local:"true" hidden:"true"`
6565
Ports string `usage:"The port range to use for ephemeral daemon ports (ex: 11000-12000)" hidden:"true"`

pkg/cli/sdk_server.go

+1
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ type SDKServer struct {
1010
}
1111

1212
func (c *SDKServer) Customize(cmd *cobra.Command) {
13+
cmd.Use = "sys.sdkserver"
1314
cmd.Args = cobra.NoArgs
1415
cmd.Hidden = true
1516
}

0 commit comments

Comments
 (0)