cmd/tailscale/cli: unhide login and switch subcommands
Updates
@@ -158,7 +158,9 @@ func Run(args []string) (err error) {
upCmd,
downCmd,
setCmd,
+ loginCmd,
logoutCmd,
+ switchCmd,
netcheckCmd,
ipCmd,
statusCmd,
@@ -192,10 +194,6 @@ func Run(args []string) (err error) {
switch {
case slices.Contains(args, "debug"):
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"):
rootCmd.Subcommands = append(rootCmd.Subcommands, serveCmd)
}
