Commit Graph

14 Commits

Author SHA1 Message Date
kevinnls
ed5adc0ac7 version bump 2021-03-18 12:47:24 +05:30
kevinnls
3fead3aecc init: upgrade capabilities 2021-03-18 12:39:15 +05:30
kevinnls
6592c067a0 added --uninstall flag and capabilities
- `--uninstall` searches for all instances of `bak-old.sh` in PATH and
deletes them
- added the `is_command()` function
2021-03-17 02:09:13 +05:30
kevinnls
8a6e42f0c8 configure bak-old to print usage when no args are passed 2021-03-16 20:11:34 +05:30
kevinnls
289073c584 added text formatting sequences
knocking out the tput dependency
2021-03-16 19:06:36 +05:30
kevinnls
0e74eacc1e set up for debugging/dev
- rearranged comments around debug brace expansion so it doesn't look bad when printed due to the `-v` flag
2021-03-15 13:35:39 +05:30
kevinnls
8883fbf068 check deps AFTER parsing options
just rearanged code
2021-03-14 10:28:50 +05:30
kevinnls
b08c0332ea improved prompt for missing deps
- newline for each dep
2021-03-14 10:14:04 +05:30
kevinnls
c64850df8d handling unmet dependencies
- will prompt if `realpath` does not exist
- need to work on the heredoc. insert new line for each dep
2021-03-08 02:10:57 +05:30
kevinnls
48f5669511 fix and improve help prompt 2021-01-08 02:28:16 +05:30
kevinnls
6ac1dd30e6 enable set -e 2021-01-08 02:05:32 +05:30
kevinnls
a054656d12 cleanup and rearrangement
- rearrange sections
- convert tabs to spaces (thanks VSCode)
- general indentation fixes
2021-01-08 02:03:01 +05:30
kevinnls
a8e104d2d4 beta completed
- added UNIX-style
    - cp lightness `-0 | -1`
    - version `-v`
    - recurse `-r`
- copying function created and stablised
- add more prompt functions
- improve dest handling - moved to start
- add debugging option
2021-01-02 02:03:02 +05:30
kevinnls
050abdc629 created paramater parsing
- UNIX style (incl. clustered) parameter parsing
    - help prompt `-h`
    - suffix mode `-b | -o`
    - destination `-d DIR`
    - multiple file names gathered in array
- help prompt up-to-date
2021-01-01 23:28:50 +05:30