Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/carsonslovoka/carson-tool.create_template
File templates are specifications of the default contents to be generated when creating a new file.
https://github.com/carsonslovoka/carson-tool.create_template
Last synced: 7 days ago
JSON representation
File templates are specifications of the default contents to be generated when creating a new file.
- Host: GitHub
- URL: https://github.com/carsonslovoka/carson-tool.create_template
- Owner: CarsonSlovoka
- License: apache-2.0
- Created: 2019-10-18T08:50:58.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2019-10-29T10:56:35.000Z (about 5 years ago)
- Last Synced: 2024-09-14T11:04:48.908Z (2 months ago)
- Language: Python
- Size: 1.45 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.rst
- License: LICENSE
Awesome Lists containing this project
README
===================
Create Template
===================:Source Code: https://github.com/CarsonSlovoka/carson-tool.create_template/blob/master/Carson/Tool/CreateTemplate/create_template.py
:Compatible: Python >3.6
:Platform: Windows
:License: `Apache 2.0`_
:Author Doc: https://carsonslovoka.github.io/CarsonDoc/.. sectnum::
File templates are specifications of the default contents to be generated when creating a new file.
This Script helps you create the template file at the current work directory.
Just like PyCharm `File and code templates `_
The only difference is that it supports you using the command line to finished.
Install
===============* ``pip install carson-tool.create_template``
USAGE
===============- ``create_template.bat [REFERENCE TEMPLATE] [OUTPUT FILE NAME]`` to create template, for example: ``create_template.bat PEP PEP.0484.py``
- ``create_template.bat -l *`` to get all available template
- ``create_template.bat -o open`` open template directory so that you can put your template file there.positional arguments:
-ref reference template
-outfile output file nameoptional arguments:
-h, --help show this help message and exit
--list LIST, -l LIST
example: -l *description: list current available template. (accept regex)
--option OPTION, -o OPTION
.. csv-table:: Option
:header: Example, Description
:widths: 20, 60-o open, "open template directory so that you can put your template file there."
.. image:: https://github.com/CarsonSlovoka/carson-tool.create_template/blob/master/demo/usage.gif?raw=true
:alt: usage.gif.. _`Apache 2.0`: https://github.com/CarsonSlovoka/carson-tool.create_template/blob/master/LICENSE