chakrawarty99templategenerator
v1.0.1
Published
A CLI for comprtitive programming which generates directory along with template code.
Downloads
3
Maintainers
Readme
Template Generator for Competitive Programming
It is an npm package that helps you to build files in your directory with your desired template for saving time in competitive programming directly from your terminal or cmd.
Installation
Use the package manager npm to install template generator.
npm i chakrawarty99templategenerator -g --save
Usage
Type the following commands:-
create -h or create --help
it will display all the commands.create -d <type> or create -dir <type>
Name of the directory you want to createcreate -l or create --lang <type>
Language of your template and the new files that will be created
lang type
py for python
java for java
c for c
cpp for c++
create -n, create --number <type>
Number of files you want inside your directory.By default number of files are 3.create -t or create --template
Add the directory where your template is or go to disered directory and type the command create -tcreate -r, create --root
Sets the current dir as the root dir, for making new dirs, works same as -t, but sets the curr dir as root
Contributing
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.