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 --no-compile 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 --no-compile 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
File details
Details for the file foliantcontrib.templates.preprocessor-1.0.3.tar.gz
.
File metadata
- Download URL: foliantcontrib.templates.preprocessor-1.0.3.tar.gz
- Upload date:
- Size: 3.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: Python-urllib/3.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9cd11ebe24d607ee1054dd32d6c0df7a7d26eee5ffb61c29dcbb33337480bb31 |
|
MD5 | 4fbd6a5f12487eaab82faf4f78f392a5 |
|
BLAKE2b-256 | 9ff63e0bee1766fd18be5ef329788e39cd21768e2d04107ad3a21d1128247395 |