feat: add skeleton clean command

main
Tran Hau 2021-01-19 00:07:20 +07:00
parent 4b95aee71d
commit 7aae72b838
1 changed files with 11 additions and 0 deletions

11
main.go
View File

@ -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
}