Skip to main content

Generate projects

Project description

# Progen
## Project Generator

Generate projects easily with a single command(`progen [generator]`). As of v0.0.1a, Progen supports generating C++ projects. More efforts are needed to improve it.

### Creating your own generator
You can create your own project generator that will be utilized by Progen. A generator is simply a python file.
There are two types of generators:
- **Folders Only**
This type of generator only requires that you specify folders that will be created with a variable called `folders`.
For example:
```python
folders = [
"bin",
"bin/epic",
"build",
"src"
]
```

Just save the code above as a python script (for example, `testscript.py`) inside Progen's generator folder in the installation directory.

To generate a project based on the specified folders above, just run `progen testscript` inside the terminal.
- **Full Generator**
This type of generator requires that you be responsible for making the folders. This is useful if you want to create a generator that is interactive and flexible.

The code must be inside a `main()` function in order for it to work. Running a full generator is similar to running a *Folders only* generator.

*NOTE: Generators must be saved inside Progen's `generators` folder in the installation directory*

### License
Progen is licensed under the GNU General Public License v3.0.

Copyright (C) 2015 Sean Francis N. Ballais

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

Progen-0.0.1a.tar.gz (3.6 kB view details)

Uploaded Source

File details

Details for the file Progen-0.0.1a.tar.gz.

File metadata

  • Download URL: Progen-0.0.1a.tar.gz
  • Upload date:
  • Size: 3.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for Progen-0.0.1a.tar.gz
Algorithm Hash digest
SHA256 0358ed467f013c76444b55dba78f4839ffa095d46c09efa15d2597b5c4303261
MD5 6857bcbb1b5451f12924f05cabf7bdbd
BLAKE2b-256 59b9e6dae42f8170d458fcb46feecd3c9470feaf1d561bc5c0a3e06142fb6d5f

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page