feat(cli): add history command and logging for actions

This commit is contained in:
Patryk Hegenberg 2025-01-24 09:24:59 +01:00
parent f8abf29594
commit 8ed3b0c013
9 changed files with 110 additions and 4 deletions

View file

@ -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() {