Generate license files for your projects.
git clone https://github.com/virajbhartiya/license.git
cd license
cargo install --path .
Generate a license file with the specified license, year, fullname, project, and extension.
license install <license> -y <year> -n <fullname> -p <project> -e <extension>
Replace <license>
with the name of the license, <year>
with the year, <fullname>
with your full name, <project>
with the name of the project, and <extension>
with the file extension for the license.
View the contents of a license file.
license view <license>
Replace <license>
with the name of the license.
To build an executable for macOS, run the following command:
cargo build --release --target x86_64-apple-darwin
This will create a license
binary in the target/release/x86_64-apple-darwin
directory.
Contributions are welcome! If you'd like to contribute, please open a pull request.
This project is licensed under the MIT License. See the LICENSE file for details.
- clap - Command line argument parsing
- chrono - Date and time handling
- license-generator - License generation logic