Documentation ¶
Index ¶
- func AGPL() []*cobra.Command
- func Core() []*cobra.Command
- func CreateClient(cmd *cobra.Command) (*codersdk.Client, error)
- func FormatCobraError(err error, cmd *cobra.Command) string
- func Root(subcommands []*cobra.Command) *cobra.Command
- func Server(newAPI func(*coderd.Options) *coderd.API) *cobra.Command
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateClient ¶ added in v0.8.7
CreateClient returns a new client from the command context. It reads from global configuration files if flags are not set.
func FormatCobraError ¶ added in v0.6.0
FormatCobraError colorizes and adds "--help" docs to cobra commands.
Types ¶
This section is empty.
Source Files ¶
- agent.go
- agent_unix.go
- configssh.go
- constants.go
- create.go
- delete.go
- dotfiles.go
- features.go
- gitssh.go
- list.go
- login.go
- logout.go
- parameter.go
- parameters.go
- parameterslist.go
- portforward.go
- publickey.go
- rename.go
- resetpassword.go
- root.go
- schedule.go
- server.go
- show.go
- signal_unix.go
- ssh.go
- ssh_other.go
- start.go
- state.go
- stop.go
- templatecreate.go
- templatedelete.go
- templateedit.go
- templateinit.go
- templatelist.go
- templateplan.go
- templatepull.go
- templatepush.go
- templates.go
- templateversions.go
- update.go
- usercreate.go
- userlist.go
- users.go
- userstatus.go
- util.go
- wireguardtunnel.go
Click to show internal directories.
Click to hide internal directories.