🚧 Stub config command
This commit is contained in:
parent
a9c62f7d20
commit
1efc8671f5
2 changed files with 40 additions and 0 deletions
|
|
@ -13,5 +13,10 @@ type Command interface {
|
|||
}
|
||||
|
||||
func New(name string, args []string) (Command, error) {
|
||||
switch name {
|
||||
case "config":
|
||||
return newConfig(args)
|
||||
}
|
||||
|
||||
return nil, fmt.Errorf("Unknown command: %s", name)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue