9df197a4b9
Add chgrp
applet; Add args
module for commonly used args to increase
...
consistency
2023-01-21 18:25:09 -05:00
f68ae6df91
chmod - implement quiet
2023-01-21 09:11:54 -05:00
Nathan Fisher
71a9f8839a
Add mknod
applet (untested)
2023-01-21 01:54:52 -05:00
e9e9c53f19
Add mkfifo
applet
2023-01-20 23:53:28 -05:00
091bf713bd
Add pwd
applet
2023-01-20 22:46:16 -05:00
0453acd0de
Add chmod
applet (untested)
2023-01-20 12:08:04 -05:00
e648a8a83a
Cleanup chown
applet
2023-01-19 19:08:09 -05:00
7fc064a441
chown - Removed several clones
2023-01-18 21:45:18 -05:00
3016f4c234
Add chown
applet (untested not optimized)
2023-01-18 21:42:11 -05:00
fcf416ea3b
Add rm
to applet list on README
2023-01-17 17:46:05 -05:00
3c27255c5b
Fix previous fix - doh!
2023-01-17 17:39:50 -05:00
b94ebaa4bd
rm - fix interactive prompts
2023-01-17 17:39:01 -05:00
8a14cfb590
Add rm
applet
2023-01-17 17:27:41 -05:00
f7b7fcca16
Add rmdir
applet
2023-01-16 23:44:21 -05:00
1ff61def39
New trait Mode
, currently just prints the symbolic representation of a
...
Unix mode, as extracted from u32
2023-01-16 22:30:12 -05:00
97d4fe1947
Relicensed as GPL3, improved documentation and CONTRIBUTING
2023-01-16 19:03:25 -05:00
7da63bb1b5
Improve docs
2023-01-16 18:28:37 -05:00
e9819b6228
More test coverage fixed some logic errors; Impl BitAnd, BitAndAssign,
...
BitOr and BitOrAssign for Bit and Who enums against u32
2023-01-16 17:45:16 -05:00
528d2478cd
mode::Parser - made self.who into u32 and test using bitflags
2023-01-16 16:22:29 -05:00
Nathan Fisher
bee6cdf08e
Add mode::parser::parse_all method
2023-01-16 00:45:17 -05:00
Nathan Fisher
735c5bb8e8
mode::parser - add tests, fix failures
2023-01-16 00:30:21 -05:00
4724041d90
Simplify parser
2023-01-15 22:37:11 -05:00
962a9c53b6
mode: move Parser into separate module
2023-01-15 12:10:36 -05:00
b52787280b
Finished mode parser (untested)
2023-01-15 12:05:20 -05:00
28d7b4c624
Merge branch 'odin' of git.hitchhiker-linux.org:jeang3nie/shitbox into odin
2023-01-15 09:35:34 -05:00
9ddebe1873
Minor changes to unlink
applet
2023-01-15 09:22:02 -05:00
Nathan Fisher
c727a1b6f8
Add mode::Parser and constructors
2023-01-15 01:28:57 -05:00
Nathan Fisher
68a4c08fe9
Moved chmod
module to mode
; Added some types to mode
2023-01-15 01:13:18 -05:00
c6e162ebc8
Added doc comments
2023-01-14 10:36:08 -05:00
b401aaad47
Fixed some Clippy lints
2023-01-14 02:34:27 -05:00
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
e3071e5707
Updated CONTRIBUTING.md
2023-01-06 23:53:41 -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