added replace command
All checks were successful
Go / build-test-publish (1.23.4) (push) Successful in 52s

This commit is contained in:
Denys Seredenko
2025-01-15 11:42:32 +01:00
parent ca2d6bbc67
commit afffe6e9e5
2 changed files with 46 additions and 0 deletions

View File

@@ -8,6 +8,7 @@ import (
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"
"git.denysoft.de/CubeBit/ssh-hub/cmd/replace"
"github.com/spf13/cobra"
"github.com/spf13/viper"
"os"
@@ -37,6 +38,7 @@ func init() {
rootCmd.AddCommand(exec.Cmd())
rootCmd.AddCommand(add.Cmd())
rootCmd.AddCommand(cobraDelete.Cmd())
rootCmd.AddCommand(replace.Cmd())
}
func initCfg() {