#8 rename method on command.

This commit is contained in:
Gorbunov Kirill Andreevich
2024-03-31 15:57:00 +03:00
parent 3870abc190
commit 21a2262d0c
3 changed files with 9 additions and 9 deletions

View File

@@ -24,8 +24,8 @@ type UpdateOpt struct {
}
type Cli struct {
Method string `flag:"name=method,desc='choice method(update, close, checkupdaue, list)',default=''"`
Path string `flag:"name=path,desc='title of mod',default=''"`
Command string `flag:"name=command,desc='choice command(update, close, checkupdaue, list)',default=''"`
Path string `flag:"name=path,desc='title of mod',default=''"`
}
func NewConfig() *Config {