| Crates.io | ru-cpj |
| lib.rs | ru-cpj |
| version | 0.1.0 |
| created_at | 2025-04-17 02:14:31.140173+00 |
| updated_at | 2025-04-17 02:14:31.140173+00 |
| description | A Rust-based command-line tool for creating new projects from templates |
| homepage | |
| repository | https://github.com/ipconfiger/ru-cpj |
| max_upload_size | |
| id | 1637149 |
| size | 48,737 |
A Rust-based command-line tool for creating new projects from templates. This tool helps you quickly set up new projects by downloading and extracting templates from URLs, while handling all the necessary initialization steps.
# Clone the repository
git clone https://github.com/yourusername/ru-cpj.git
cd ru-cpj
# Build the project
cargo build --release
# The binary will be available at target/release/ru-cpj
ru-cpj <project_name> <template_url>
project_name: The name of your new projecttemplate_url: URL to the template archive (supports .zip and .tar.gz formats)# Create a new project named "my-project" from a template
ru-cpj my-project https://example.com/templates/rust-web-template.zip
This will:
The tool includes comprehensive error handling and will provide clear error messages if something goes wrong during the process.
[Add your license information here]
Contributions are welcome! Please feel free to submit a Pull Request.