make some wsh commands hidden

This commit is contained in:
sawka 2024-09-09 21:00:47 -07:00
parent 766a976718
commit 16d01b43eb
5 changed files with 11 additions and 6 deletions

View File

@ -12,6 +12,7 @@ import (
var serverCmd = &cobra.Command{
Use: "connserver",
Hidden: true,
Short: "remote server to power wave blocks",
Args: cobra.NoArgs,
Run: serverRun,

View File

@ -16,6 +16,7 @@ func init() {
var htmlCmd = &cobra.Command{
Use: "html",
Hidden: true,
Short: "Launch a demo html-mode terminal",
Run: htmlRun,
PreRunE: preRunSetupRpcClient,

View File

@ -19,6 +19,7 @@ func init() {
var rcfilesCmd = &cobra.Command{
Use: "rcfiles",
Hidden: true,
Short: "Generate the rc files needed for various shells",
Run: func(cmd *cobra.Command, args []string) {
home := wavebase.GetHomeDir()

View File

@ -22,6 +22,7 @@ func init() {
var shellCmd = &cobra.Command{
Use: "shell",
Hidden: true,
Short: "Print the login shell of this user",
Run: func(cmd *cobra.Command, args []string) {
WriteStdout(shellCmdInner())

View File

@ -15,6 +15,7 @@ func init() {
var shellCmd = &cobra.Command{
Use: "shell",
Hidden: true,
Short: "Print the login shell of this user",
Run: func(cmd *cobra.Command, args []string) {
shellCmdInner()