4 releases (2 breaking)
0.3.0 | Apr 20, 2024 |
---|---|
0.2.1 | Apr 8, 2024 |
0.2.0 | Mar 2, 2024 |
0.1.0 | Feb 15, 2024 |
#1942 in Command line utilities
215KB
373 lines
Wmk - A file creation tool
Features
- Colorful, easy-to-read output
- History
mkdir and touch:
mkdir --parents a/b/c/d/e/f/
touch a/b/c/d/e/f/g.txt
wmk:
wmk a/b/c/d/e/f/g.txt
Installation
Run the following Cargo command:
cargo install wmk
Usage
Create files:
wmk foo.txt bar.txt ...
Create directories:
wmk --directory foo_dir bar_dir ...
Show history:
wmk --show-history
Delete history interactively:
wmk --delete-history
Clear history:
wmk --clear-history
Options
-c, --clear-history Clear history
-D, --delete-history Delete history interactively
-d, --directory Create directories instead of files
-q, --quiet Do not print log messages
-R, --no-record Do not create a history file
-s, --show-history Show history
-h, --help Print help
-V, --version Print version
License
Licensed under either of
- Apache License, Version 2.0 (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)
at your option.
Contribution
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.
Dependencies
~6–15MB
~175K SLoC