feat: add skeleton clean command
parent
4b95aee71d
commit
7aae72b838
11
main.go
11
main.go
|
@ -13,6 +13,7 @@ const (
|
|||
|
||||
installCommand = "install"
|
||||
updateCommand = "update"
|
||||
cleanCommand = "clean"
|
||||
|
||||
curentDir = "."
|
||||
)
|
||||
|
@ -36,6 +37,12 @@ func main() {
|
|||
Usage: "update dotfiles from user configs",
|
||||
Action: a.RunUpdate,
|
||||
},
|
||||
{
|
||||
Name: cleanCommand,
|
||||
Aliases: []string{"c"},
|
||||
Usage: "clean unused dotfiles",
|
||||
Action: a.RunClean,
|
||||
},
|
||||
},
|
||||
Action: a.Run,
|
||||
}
|
||||
|
@ -80,3 +87,7 @@ func (a *action) RunUpdate(c *cli.Context) error {
|
|||
|
||||
return nil
|
||||
}
|
||||
|
||||
func (a *action) RunClean(c *cli.Context) error {
|
||||
return nil
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue