feat(cli): add history command and logging for actions
This commit is contained in:
parent
f8abf29594
commit
8ed3b0c013
9 changed files with 110 additions and 4 deletions
17
cmd/cmd.go
17
cmd/cmd.go
|
|
@ -43,8 +43,21 @@ func init() {
|
|||
|
||||
updateCmd.Flags().StringP("manager", "m", "os", "The package manager you want to update packages with. (Options: os|homebrew|pipx|flatpak)")
|
||||
|
||||
packageCmd.AddCommand(addCmd, deleteCmd, showCmd, enableCmd)
|
||||
RootCmd.AddCommand(packageCmd, searchCmd, installCmd, removeCmd, updateCmd, updateAllCmd)
|
||||
packageCmd.AddCommand(
|
||||
addCmd,
|
||||
deleteCmd,
|
||||
showCmd,
|
||||
enableCmd,
|
||||
)
|
||||
RootCmd.AddCommand(
|
||||
packageCmd,
|
||||
searchCmd,
|
||||
installCmd,
|
||||
removeCmd,
|
||||
updateCmd,
|
||||
updateAllCmd,
|
||||
historyCmd,
|
||||
)
|
||||
}
|
||||
|
||||
func initConfig() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue