|
1 | 1 | # @codacy/codacy-cloud-cli |
2 | 2 |
|
| 3 | +## 1.5.0 |
| 4 | + |
| 5 | +### Minor Changes |
| 6 | + |
| 7 | +- [#26](https://github.com/codacy/codacy-cloud-cli/pull/26) [`bf903e4`](https://github.com/codacy/codacy-cloud-cli/commit/bf903e45f6aaa96a25d4cdbfdf19966d2a5f1c38) Thanks [@alerizzo](https://github.com/alerizzo)! - Add `ls` and `directories` commands to browse a repository's tree with quality |
| 8 | + metrics. `ls` lists the directories and files at a path — showing Grade, Issues, |
| 9 | + Complexity, Duplication, and Coverage per row — and `directories` (alias `dirs`) |
| 10 | + lists folders only, with `--plus-children` to also show one level of |
| 11 | + sub-directories as a `└─` tree. Both auto-detect the provider/organization/repository |
| 12 | + from the git remote and the path from your current directory (relative to the |
| 13 | + repo root); override with positional args, `--path`, and `--branch`. Sort with |
| 14 | + `--sort <field>` (`name`, `issues`, `grade`, `duplication`, `complexity`, |
| 15 | + `coverage`) and `--direction asc|desc`. `codacy ls --search <term>` finds files |
| 16 | + at any depth under the path. Folders and files are marked with `▸` and `·` (no |
| 17 | + emojis). Both commands fetch every page of results, so nothing is truncated. |
| 18 | + |
| 19 | +- [#24](https://github.com/codacy/codacy-cloud-cli/pull/24) [`bf527ad`](https://github.com/codacy/codacy-cloud-cli/commit/bf527ad694a3f7d78576a5a3647dd4d53984e088) Thanks [@alerizzo](https://github.com/alerizzo)! - Add an npm-style "update available" notice. When a newer version is published, the |
| 20 | + CLI prints a one-time upgrade hint to stderr — it never auto-updates. The notice |
| 21 | + only shows with the default `--output table` in an interactive terminal; it is |
| 22 | + suppressed for `--output json`, when piped, in CI, and under `npx`/npm scripts, so |
| 23 | + machine-readable stdout stays byte-clean. The version lookup runs in a non-blocking |
| 24 | + background process (at most once a day) and never affects timing or exit codes. Opt |
| 25 | + out via `CODACY_DISABLE_UPDATE_CHECK`, `NO_UPDATE_NOTIFIER`, or `--no-update-notifier`. |
| 26 | + A package.json `overrides` entry pins `update-notifier`'s transitive `got`/`package-json` |
| 27 | + to patched, still-CommonJS versions to avoid CVE-2022-33987. |
| 28 | + |
3 | 29 | ## 1.4.0 |
4 | 30 |
|
5 | 31 | ### Minor Changes |
|
0 commit comments