Tool for storing and generating boilerplates within seconds
Project description
bplate
bplate is a command line tool that allows you to create and store boilerplates.
Using bplate, you can store a directory as boilerplate template and easily generate a boilerplate later using a simple command within matter of seconds.
Installation
Python 3.8 or higher is required to use this tool.
bplate can easily be installed using the pip
package manager:
python -m pip install bplate
Basic Usage
To start using bplate, you first need to store a directory as boilerplate template. In
order to do that, use the bplate new
followed by path of directory:
bplate new .\web-app-template
When prompted for boilerplate name, enter a name which will be used to reference to boilerplate later:
$ bplate new .\web-app-template
...
Boilerplate name: simple-web-app
...
Once the boilerplate has been created, you can use the bplate init
command to easily
generate boilerplate in a directory. The first argument is name of boilerplate that we
set earlier and second argument is the path where boilerplate is being generated:
bplate init simple-web-app .\my-web-app-project
Customization
One of the main focus of bplate is to provide maximum customization and while this project is in its early stages and there are not many options yet, we are constantly working on bringing more customization options to the CLI.
When you create a boilerplate using the bplate new
, a bplate_config.json
file is
created in the root directory that can be edited to modify various aspect of the
boilerplate.
For all customization options, see the Customization page on the documentation.
Contributing
bplate is currently in its early stage and we are constantly working on improving this tool. You can help us improve bplate and any contribution in this regard will be appreciated.
For more information, see the Contributing to bplate page on the documentation.
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 Distributions
Built Distribution
File details
Details for the file bplate-0.2.0-py3-none-any.whl
.
File metadata
- Download URL: bplate-0.2.0-py3-none-any.whl
- Upload date:
- Size: 8.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 59705e95698430a57448bc6a8a2294f8a2f019e50e9b8749cb5619201613dcf8 |
|
MD5 | a7a8d188fe0fadbe8ae6e3a21fbd74ba |
|
BLAKE2b-256 | 67ec1acfc63cf848bb68a481a33eb12097801727a73b08cdee05c64c43406fcc |