Wear Shirt is a command line application for managing when you last wore a shirt.
This should help prevent you from wearing the same shirt twice in a time period to prevent time wasted wondering if you wore that shirt recently when getting dressed.
You can add, wear, list, delete, and reset shirts using simple commands.
- Add a new shirt
- Wear a shirt
- List all shirts
- Delete a shirt by name or number
- Reset (clear) the shirt database
- Show version with
wshirt versionorwshirt --version - Cross-Platform (Linux, MacOS, and Windows)
To install the Shirt, clone the repository and build the project using Cargo:
git clone https://github.com/tryonlinux/wshirt
cd wshirt
cargo build --releaseOr download a prebuilt binary from the GitHub Releases page.
Run the application with the following command:
wshirt <command> [options]add <name>: Add a new shirt with the specified name.wear <name|number>: Wear the shirt with the specified name or number.list: List all shirts in your collection.delete <name|number>: Delete the shirt by name or number.reset: Clear the shirt database.version,--version,-v: Show the program version.
-
Add a new shirt:
wshirt add "Cool T-Shirt" -
Wear a shirt:
wshirt wear "Cool T-Shirt" -
List all shirts:
wshirt list
-
Delete a shirt:
wshirt delete "Cool T-Shirt" -
Reset the database:
wshirt reset
-
Show version:
wshirt version
Feel free to submit issues or pull requests to improve the Wear Shirt. I hate writing unit tests in rust, so feel free to add them please!