Generate projects
Project description
# Progen
## Project Generator
Generate projects easily with a single command(`python progen.py [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 `python progen.py 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 Generator
Generate projects easily with a single command(`python progen.py [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 `python progen.py 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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
prg-0.0.1a.tar.gz
(3.6 kB
view details)
File details
Details for the file prg-0.0.1a.tar.gz
.
File metadata
- Download URL: prg-0.0.1a.tar.gz
- Upload date:
- Size: 3.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | fa2a0a6120ac80cacc8a60fce21f7c35ea6d36d15855036fd6a0795a891b9cc2 |
|
MD5 | 0a963a77520e80e2075335c7e1d23a84 |
|
BLAKE2b-256 | dd2ea6824eab015746cc5c91f700ebe2a3a31756dda8bbb046e5c9191894a9b4 |