summaryrefslogtreecommitdiff
path: root/main.go
AgeCommit message (Collapse)Author
2026-05-27fix: --no-cache not working for list commandHEADmastereltrac
2026-05-26refactor: separate fetch/display logic from main.goeltrac
2026-05-26feat: fetch data from multiple sources and update when new one comeseltrac
2026-01-07Merge branch 'master' of https://github.com/BigCoke233/wtfisEltrac
2025-11-28feat(cli): add flags for list subcommands - `--no-dependency`: only show packageEltrac
names and dependency count, do not list dependencies - `--ascending`: sort list ascendingly - `--descending`: sort list descendingly
2025-11-28refactor: move `info` subcommand function back to main commandEltrac
2025-11-28feat(cli): new command `wthis list`Eltrac
2025-11-28refactor: use subcommands and replace certain flagsEltrac
2025-11-23refactor: clearer entry point codeEltrac
2025-11-21style: main.goEltrac
2025-11-21refactor: move main logic outside CLI declarationEltrac
2025-11-21feat: add cache related flagsEltrac
- `--no-cache` for lookup without caching - `--clear-cache` to delete all cache files and not look up
2025-11-21perf: cache stats for fasterlookupEltrac
2025-11-21perf: concurrently get brew info and reverse dependenciesEltrac
2025-11-21style: gofmt all codeEltrac
2025-11-21refactor: move print entry point to statistics.Print()Eltrac
2025-11-21style: rename vars shorter to be idiomatic and fix typoEltrac
2025-11-11fix: make sure to exit when certain error occursEltrac
2025-11-11feat(animation): animate loading promptEltrac
2025-11-11refactor: separate data processing and printing - `print.go` no longer handlesEltrac
retrieving atime and other data operations. It just receives info and prints. - New `statistics.go` gather formulae and cask struct and spits out a unified data structure for `print.go` to use. Getting atime and reverse dependencies are moved here as well. - `info.go` is now `brewget.go`, since what it does is basically running `brew info` and `brew uses` commands to gather raw data.
2025-11-11feat(cli): output prompt before result is shown - after brewcheck is done -Eltrac
before searching and printing formulae/cask info
2025-11-11perf: cache homebrew installation check - looking for brew path takes aEltrac
significant amount of time - caching (supports XDG) brew check result to improve performance
2025-11-11refactor: use urfave/cliEltrac
2025-11-11Merge branch 'master' of https://github.com/BigCoke233/wtfisEltrac
2025-11-11fix(main.go): remove redundant lookupEltrac
2025-11-10docs: fix usage message typoEltrac
2025-11-10docs: fix typoEltrac
2025-11-10initial commitEltrac