mirror of
https://github.com/tailscale/tailscale.git
synced 2025-04-16 11:41:39 +00:00
cmd/tailscale/cli: unhide login and switch subcommands
Updates #713 Signed-off-by: Maisem Ali <maisem@tailscale.com>
This commit is contained in:
parent
a1084047ce
commit
a5a3188b7e
@ -158,7 +158,9 @@ change in the future.
|
|||||||
upCmd,
|
upCmd,
|
||||||
downCmd,
|
downCmd,
|
||||||
setCmd,
|
setCmd,
|
||||||
|
loginCmd,
|
||||||
logoutCmd,
|
logoutCmd,
|
||||||
|
switchCmd,
|
||||||
netcheckCmd,
|
netcheckCmd,
|
||||||
ipCmd,
|
ipCmd,
|
||||||
statusCmd,
|
statusCmd,
|
||||||
@ -192,10 +194,6 @@ change in the future.
|
|||||||
switch {
|
switch {
|
||||||
case slices.Contains(args, "debug"):
|
case slices.Contains(args, "debug"):
|
||||||
rootCmd.Subcommands = append(rootCmd.Subcommands, debugCmd)
|
rootCmd.Subcommands = append(rootCmd.Subcommands, debugCmd)
|
||||||
case slices.Contains(args, "login"):
|
|
||||||
rootCmd.Subcommands = append(rootCmd.Subcommands, loginCmd)
|
|
||||||
case slices.Contains(args, "switch"):
|
|
||||||
rootCmd.Subcommands = append(rootCmd.Subcommands, switchCmd)
|
|
||||||
case slices.Contains(args, "serve"):
|
case slices.Contains(args, "serve"):
|
||||||
rootCmd.Subcommands = append(rootCmd.Subcommands, serveCmd)
|
rootCmd.Subcommands = append(rootCmd.Subcommands, serveCmd)
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user