|
|
@ -120,6 +120,8 @@ change in the future.
|
|
|
|
pingCmd,
|
|
|
|
pingCmd,
|
|
|
|
ncCmd,
|
|
|
|
ncCmd,
|
|
|
|
sshCmd,
|
|
|
|
sshCmd,
|
|
|
|
|
|
|
|
funnelCmd,
|
|
|
|
|
|
|
|
serveCmd,
|
|
|
|
versionCmd,
|
|
|
|
versionCmd,
|
|
|
|
webCmd,
|
|
|
|
webCmd,
|
|
|
|
fileCmd,
|
|
|
|
fileCmd,
|
|
|
@ -147,10 +149,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, "funnel"):
|
|
|
|
|
|
|
|
rootCmd.Subcommands = append(rootCmd.Subcommands, funnelCmd)
|
|
|
|
|
|
|
|
case slices.Contains(args, "serve"):
|
|
|
|
|
|
|
|
rootCmd.Subcommands = append(rootCmd.Subcommands, serveCmd)
|
|
|
|
|
|
|
|
case slices.Contains(args, "update"):
|
|
|
|
case slices.Contains(args, "update"):
|
|
|
|
rootCmd.Subcommands = append(rootCmd.Subcommands, updateCmd)
|
|
|
|
rootCmd.Subcommands = append(rootCmd.Subcommands, updateCmd)
|
|
|
|
}
|
|
|
|
}
|
|
|
|