The Project Template Generator is a command-line interface (CLI) application written in Rust. It allows you to quickly generate a project template with a predefined directory structure and common files for your coding projects.
- Generates a tailored template for different languages and different types of projects.
- Customizable project name.
- You can use the git flag (-g) to initialize a git repo with a gitignore template based on the chosen language
- Easy setup and usage.
- Make sure you have Python 3 installed on your system. You can download it from the official Python website (https://www.python.org).
- Make sure you have Rust installed on your system. You can download and install it from the official Rust website (https://www.rust-lang.org/tools/install).
- Clone this repository or download the source code.
git clone https://github.com/Isaaruwu/Template-Generator.git
- Build the project
cargo build --release
- Add the generated target/release folder to your system's environments variables
- To generate a project template in your current directory run
tgen create <language> <project_name> [project_type] [path] [-g]
NB. For additionnal help
tgen --help
Right now the project supports:
- Python (default and data-science project type)
This Project Template Generator is an ongoing project, and there are several areas that can be improved and expanded. Some ideas for future development include:
- Supporting different langages
- Implementing templates for specific project types (e.g., web applications, etc).
- Enhancing the CLI interface with more interactive features and options.
This project is licensed under the MIT License. See the LICENSE file for details.
Contributions are welcome! If you find any issues or have suggestions for improvements, please open an issue or submit a pull request.
This project was inspired by the need for a quick and standardized way to set up Python projects. gitignore templates are from [https://github.com/github/gitignore/tree/main]