added some extra commands
All checks were successful
Go / build-test-publish (1.23.4) (push) Successful in 43s
All checks were successful
Go / build-test-publish (1.23.4) (push) Successful in 43s
This commit is contained in:
@@ -4,6 +4,8 @@ import (
|
||||
"encoding/json"
|
||||
"errors"
|
||||
"fmt"
|
||||
"git.denysoft.de/CubeBit/ssh-hub/cmd/add"
|
||||
cobraDelete "git.denysoft.de/CubeBit/ssh-hub/cmd/delete"
|
||||
"git.denysoft.de/CubeBit/ssh-hub/cmd/exec"
|
||||
"git.denysoft.de/CubeBit/ssh-hub/cmd/list"
|
||||
"github.com/spf13/cobra"
|
||||
@@ -33,6 +35,8 @@ func init() {
|
||||
cobra.OnInitialize(initCfg)
|
||||
rootCmd.AddCommand(list.Cmd())
|
||||
rootCmd.AddCommand(exec.Cmd())
|
||||
rootCmd.AddCommand(add.Cmd())
|
||||
rootCmd.AddCommand(cobraDelete.Cmd())
|
||||
}
|
||||
|
||||
func initCfg() {
|
||||
|
||||
Reference in New Issue
Block a user