lots o progress
- added 'command' subcommand - removed viper - setup commands added - still a WIP - readme TODO update
This commit is contained in:
@@ -6,6 +6,8 @@ package cmd
|
||||
import (
|
||||
"os"
|
||||
|
||||
"code.jakeyoungdev.com/jake/mctl/cmd/command"
|
||||
srv "code.jakeyoungdev.com/jake/mctl/cmd/server"
|
||||
"github.com/spf13/cobra"
|
||||
)
|
||||
|
||||
@@ -31,4 +33,6 @@ func init() {
|
||||
rootCmd.CompletionOptions = cobra.CompletionOptions{
|
||||
DisableDefaultCmd: true,
|
||||
}
|
||||
rootCmd.AddCommand(srv.ServerCmd)
|
||||
rootCmd.AddCommand(command.CommandCmd) //the word command is in this four times, that can't be good.
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user