File tree 4 files changed +2
-11
lines changed
4 files changed +2
-11
lines changed Original file line number Diff line number Diff line change @@ -57,6 +57,7 @@ type GPTScript struct {
57
57
Assemble bool `usage:"Assemble tool to a single artifact, saved to --output" hidden:"true" local:"true"`
58
58
ListModels bool `usage:"List the models available and exit" local:"true"`
59
59
ListTools bool `usage:"List built-in tools and exit" local:"true"`
60
+ ListenAddress string `usage:"Server listen address" default:"127.0.0.1:0" hidden:"true"`
60
61
Chdir string `usage:"Change current working directory" short:"C"`
61
62
Daemon bool `usage:"Run tool as a daemon" local:"true" hidden:"true"`
62
63
Ports string `usage:"The port range to use for ephemeral daemon ports (ex: 11000-12000)" hidden:"true"`
Original file line number Diff line number Diff line change @@ -11,12 +11,12 @@ import (
11
11
12
12
type SDKServer struct {
13
13
* GPTScript
14
- ListenAddress string `usage:"Server listen address" default:"127.0.0.1:0" local:"true"`
15
14
}
16
15
17
16
func (c * SDKServer ) Customize (cmd * cobra.Command ) {
18
17
cmd .Use = "sys.sdkserver"
19
18
cmd .Args = cobra .NoArgs
19
+ cmd .Aliases = []string {"sdkserver" }
20
20
cmd .Hidden = true
21
21
}
22
22
Original file line number Diff line number Diff line change 1
- //go:build !linux
2
-
3
1
package system
4
2
5
3
import (
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments