Commit Graph

5 Commits

Author SHA1 Message Date
Nathan Fisher
a8c8ba5819 Simplified Cmd trait, trimmed 600K from binary size 2023-01-13 01:08:32 -05:00
fb389fd309 Simplify subcommand parsing:
- one match statement to return a `Box<dyn Cmd>`
- one array containing all command names
Only two places to register new commands (besides their module), both in
crate::cmd::mod.rs. Also removes `once_cell` crate dependency.

Replace `base64` crate dependency with `data_encoding::BASE64` so that
both base32 and base64 commands use the same crate.
2023-01-06 23:41:02 -05:00
2bce4afe7a Added dirname command; Fix wrap for base32; Various cleanups; 2023-01-01 11:26:56 -05:00
48d42e7b3c Cleanups including creating a static list of commands 2022-12-25 23:50:37 -05:00
cf99f2005a Added README.md, CONTRIBUTING.md and LICENSE. Added /sbin/nologin
applet.
2022-12-25 22:27:17 -05:00