MCPcopy Index your code
hub / github.com/coder/coder / CoreSubcommands

Method CoreSubcommands

cli/root.go:100–154  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

98)
99
100func (r *RootCmd) CoreSubcommands() []*serpent.Command {
101 // Please re-sort this list alphabetically if you change it!
102 return []*serpent.Command{
103 r.completion(),
104 r.dotfiles(),
105 externalAuth(),
106 r.login(),
107 r.logout(),
108 r.netcheck(),
109 r.notifications(),
110 r.organizations(),
111 r.portForward(),
112 r.publickey(),
113 r.resetPassword(),
114 r.secrets(),
115 r.sharing(),
116 r.state(),
117 r.tasksCommand(),
118 r.templates(),
119 r.tokens(),
120 r.users(),
121 r.version(defaultVersionInfo),
122
123 // Workspace Commands
124 r.autoupdate(),
125 r.configSSH(),
126 r.Create(CreateOptions{}),
127 r.deleteWorkspace(),
128 r.favorite(),
129 r.list(),
130 r.logs(),
131 r.open(),
132 r.ping(),
133 r.rename(),
134 r.restart(),
135 r.schedules(),
136 r.show(),
137 r.speedtest(),
138 r.ssh(),
139 r.start(),
140 r.stat(),
141 r.stop(),
142 r.unfavorite(),
143 r.update(),
144 r.whoami(),
145
146 // Hidden
147 r.connectCmd(),
148 gitssh(),
149 r.support(),
150 r.vpnDaemon(),
151 r.vscodeSSH(),
152 workspaceAgent(),
153 }
154}
155
156// AGPLExperimental returns all AGPL experimental subcommands.
157func (r *RootCmd) AGPLExperimental() []*serpent.Command {

Callers 3

AGPLMethod · 0.95
TestHandlersOKFunction · 0.95
EnterpriseSubcommandsMethod · 0.95

Calls 15

completionMethod · 0.95
dotfilesMethod · 0.95
loginMethod · 0.95
logoutMethod · 0.95
netcheckMethod · 0.95
notificationsMethod · 0.95
organizationsMethod · 0.95
portForwardMethod · 0.95
publickeyMethod · 0.95
resetPasswordMethod · 0.95
secretsMethod · 0.95
sharingMethod · 0.95

Tested by 1

TestHandlersOKFunction · 0.76