Skip to content

chore: rename sdkserver subcommand to sys.sdkserver #492

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 13, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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