Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
todos: - choose: needs truncating of choose body, if too long, possible with `fs-rm` and `fs-trim` with large directory content listing: `eza -lA | sed -e '5,$d' -e '4,$s/.*/Truncated./'` is suitable, however our own command would work - eval-helper: check if pending/success/failure messages are still going to TTY - is-not-symlink: update copy and pasted tests to match its functionality - consider renames of `echo-exit-affirmative`, `echo-exit-status`, `is-root` changes: - choose: - optional will now cancel to nothing, only required cancels to defaults - can now press R to revert to defaults - dorothy: - permissions action no longer trims junk files, as they are already git-ignored - `fs-realpath`, `fs-structure`, `fs-trim`, `is-broken-symlink`, `is-directory`, `is-empty-directory`, `is-empty-file`, `is-file`, `is-missing`, `is-not-directory`, `is-not-symlink`, `is-present`, `is-readable`, `is-symlink`, `is-nonempty-file`: - support `--(sudo|user|group)` arguments - consistent internal structure - add tests where appropriate - `fs-rm`, `fs-trim`, `fs-structure`: - rewrote `fs-rm` for new `fs-trim` command, with exact prompts on what to do, no longer overly complex and fragile - rewrote `fs-structure` to prefer `exa`, comment out verbose `dust`/`du` handling as `exa` is better and more understandable for this use case, made perms and time toggles - fs-touch: - clarified touch functionality (will make directories, but not files, by default), make `--no-touch` not make directories - add `fs-trim`: - consolidated functionality from: `fs-rm`, `rm-junk`, `rm-modules` - clear handling of symlinks - add `is-broken-symlink`, `is-empty-directory`, `is-empty-file`, `is-not-symlink`, `is-file`, `is-not-symlink`, `is-symlink`: - is-generic: - change return status behaviour on multiple arguments to be consistent with others - promoted `is-even` from beta commands - add `setup-util-qpdf` for `pdf-decrypt`, and updated `pdf-decrypt` for modern covnentions - sudo-helper: - add `--[no-]sudo` flag, which if no and no user nor group, then no sudo is needed fixes: - choose: pressing escape/q to cancel now works again - echo-values: fix help text being incorrect - eval-helper: wrapping will now have wraps go to stdout - get-terminal-theme: more accurate parsing of `COLORFGBG` - is-admin: fix multiple users handling - setup-dns: improve handling of bad interfaces fetch renames and deprecations: - `is-nonempty-string` to `is-not-whitespace` - `is-empty-string` to `is-whitespace` - `is-empty-ls` to `is-empty-directory`, turns out we had two commands doing the same thing - `is-dir` to `is-directory` - `is-either` to `is-needle`, `is-neither` to `! is-needle` - `echo-if-empty` to `echo-with-whitespace-fallback`, added `echo-with-empty-fallback` for zero-length - `echo-values` promoted from beta, used within `setup-dns` - `fs-size` deprecated as it was the same as `fs-structure`; use `fs-structure` or `get-size` instead - `rm-vmware` to `rm-vmware-fusion` - `rm-junk` and `rm-modules` to `fs-trim --junk` - deprecate `is-array-*` and `get-array-*` commands - deprecate `is-exec`, `is-equal`, `rm-svn`, and `rm-sync` until there is a use case for them linting: - down: as `fs-temp` touch usage is now clarified, improve logic around mkdirp call - fs-filename: use the new options help text format - get-terminal-color-support: fix return status help text - remove unnecessary `--status=0` in `eval-tester` calls - improve wording of return statuses in help text - improve wording around whether symlinks are considered or not in various commands - added `Companion to ...` line to improve discovery of (related) commands and their functionality
- Loading branch information