Commit Graph

5 Commits

Author SHA1 Message Date
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
84ede35190 Finish mountpoint applet 2023-01-05 19:20:12 -05:00
6b6cc314e8 Added color to base64 file header; Ran clippy lints and fixed all but
missing docs;
2023-01-04 15:14:16 -05:00
36835dd322 Added colored output for head and base32 applets (file header is green) 2023-01-04 14:26:44 -05:00
228e1c779f Initial commit 2022-12-20 12:05:21 -05:00