Creates a configurable python project template in a given directory.
Project description
Artec
Artec is a simple python 3 script to create a project template in a given directory.
It's a maintained version of PyBoiler
Installation
Clone the repo locally and
$ cd Artec
$ pip install .
Soon will be available for PYPI.
Usage
Create a JSON file to match the folder structure you desire
$: vim structure.json
# Paste the below into your file and modify as you desire
[{'folder': 'source'},
{'file': 'source/file1.txt'}, # Nested file
{'folder': 'sublime'},
{'file': 'sublime/file2.txt'},
{'folder': 'docs'},
{'file': 'docs/file3.txt'},
{'file': 'docs/file4.txt'},
{'file': 'README.md'}]
How to execute
usage: artec [-h] -o PROJECT_PATH
required arguments:
-o PROJECT_PATH, --project-directory PROJECT_PATH
Project's absolute path where the structure will be created
optional arguments:
-h, --help
Show this help message and exit
-s FOLDER_STRUCTURE, --folder-structure FOLDER_STRUCTURE
JSON file containing the template folder/file
structure to be created
Examples :
artec -o dest
artec -o dest -s res/simple.json
Version
0.0.1
Contributing
Big Thanks to Link- for jump starting the project.
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.
License
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
artec-0.1.0.tar.gz
(16.0 kB
view hashes)