Commit Graph

35 Commits

Author SHA1 Message Date
3ffcdb54ed Add cut applet 2023-01-14 02:08:14 -05:00
5560cf55a9 Add sync applet 2023-01-13 12:09:10 -05:00
Nathan Fisher
a8c8ba5819 Simplified Cmd trait, trimmed 600K from binary size 2023-01-13 01:08:32 -05:00
76e7036da9 Add link applet 2023-01-12 19:00:16 -05:00
2f58e82de2 Added groups and clear applets 2023-01-12 18:33:41 -05:00
d77387f963 Add pw module for user and group information;
which - check if our user can exec found file
2023-01-11 20:50:20 -05:00
cbe8b09c64 Removed a brand name before making public 2023-01-10 18:32:27 -05:00
4d9cbbd413 Add which applet 2023-01-10 18:28:33 -05:00
315ee56e25 Add whoami applet 2023-01-09 18:39:38 -05:00
0513cdef2e Add fold utility 2023-01-08 11:40:08 -05:00
1e1e909afe Added basename applet 2023-01-08 01:12:36 -05:00
f70244ea49 Add nproc applet 2023-01-07 18:50:18 -05:00
991e19bcbc Added yes applet 2023-01-07 18:30:22 -05:00
3857265728 Added rev applet 2023-01-07 11:44:35 -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
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
Nathan Fisher
dff8561875 Merge branch 'odin' of git.hitchhiker-linux.org:jeang3nie/shitbox into odin 2023-01-03 23:21:42 -05:00
Nathan Fisher
9f9182f4cd Add base64 applet 2023-01-03 23:02:43 -05:00
95b781ae9a Fix some clippy lints 2023-01-03 19:47:00 -05:00
829dad2c5f Added factor applet 2023-01-03 12:49:09 -05:00
2bce4afe7a Added dirname command; Fix wrap for base32; Various cleanups; 2023-01-01 11:26:56 -05:00
2510f80303 Head - allow head -1 type arguments 2022-12-29 23:20:55 -05:00
727c75d9a0 Added base32 command 2022-12-26 23:44:53 -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
1af14e7ff7 Add link generation to bootstrap command 2022-12-25 19:30:36 -05:00
d190050798 Major API revamp 2022-12-25 18:29:09 -05:00
480960ce2b bootstrap: recreate completion function to use
clap_completion::generator::Generator trait to specify generic parameter
2022-12-22 19:09:44 -05:00
0cc2bd507b Fix path in previous commit 2022-12-21 20:20:43 -05:00
728c66fb70 Generate Bash and Fish completions 2022-12-21 20:19:38 -05:00
aa1d311745 Add man page generation to bootstrap applet 2022-12-20 19:23:41 -05:00
a2e80dc867 Add sleep applet 2022-12-20 18:35:45 -05:00
228e1c779f Initial commit 2022-12-20 12:05:21 -05:00