Preprocessor template for `foliant init` command.
Project description
# Preprocessor Template for `foliant init` Command
Template for a Foliant preprocessor. Instead of looking for an existing preprocessor, cloning it, and modifying its source, install this package and generate a preprocessor directory. As simple as:
```shell
$ foliant init -t preprocessor
```
## Installation
```shell
$ pip install foliantcontrib.templates.preprocessor
```
## Usage
```shell
$ foliant init -t preprocessor
Enter the project name: Awesome Preprocessor
✔ Generating project
─────────────────────
Project "Awesome Preprocessor" created in awesome-preprocessor
```
Or:
```shell
$ foliant init -t preprocessor -n "Awesome Preprocessor"
✔ Generating project
─────────────────────
Project "Awesome Preprocessor" created in awesome-preprocessor
```
Result:
```shell
$ tree awesome-preprocessor
.
├── changelog.md
├── foliant
│ └── preprocessors
│ └── awesome-preprocessor.py
├── LICENSE
├── README.md
└── setup.py
2 directories, 5 files
```
Template for a Foliant preprocessor. Instead of looking for an existing preprocessor, cloning it, and modifying its source, install this package and generate a preprocessor directory. As simple as:
```shell
$ foliant init -t preprocessor
```
## Installation
```shell
$ pip install foliantcontrib.templates.preprocessor
```
## Usage
```shell
$ foliant init -t preprocessor
Enter the project name: Awesome Preprocessor
✔ Generating project
─────────────────────
Project "Awesome Preprocessor" created in awesome-preprocessor
```
Or:
```shell
$ foliant init -t preprocessor -n "Awesome Preprocessor"
✔ Generating project
─────────────────────
Project "Awesome Preprocessor" created in awesome-preprocessor
```
Result:
```shell
$ tree awesome-preprocessor
.
├── changelog.md
├── foliant
│ └── preprocessors
│ └── awesome-preprocessor.py
├── LICENSE
├── README.md
└── setup.py
2 directories, 5 files
```
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
Close
Hashes for foliantcontrib.templates.preprocessor-1.0.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | d71af1848fb4caa3aa7c3280201c9e9862830b39031229f848c99833baea5147 |
|
MD5 | d329a670438721d499d9bba051129dc8 |
|
BLAKE2b-256 | 61860d6d3ba7e8fe5ab0f881f79989789e6de9f01c4a853ecf67ca064beb7170 |