Skip to main content

File templates are specifications of the default contents to be generated when creating a new file.

Project description

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/

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.

1 Install

  • pip install carson-tool.create_template

2 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 name

optional 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
Option

Example

Description

-o open

open template directory so that you can put your template file there.

usage.gif

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

carson-tool.create_template-0.2.0.tar.gz (8.5 kB view details)

Uploaded Source

File details

Details for the file carson-tool.create_template-0.2.0.tar.gz.

File metadata

File hashes

Hashes for carson-tool.create_template-0.2.0.tar.gz
Algorithm Hash digest
SHA256 03ad3fa2da46f239992708d77e496cb5f61ea81a23767b564b4fc593a93c1f45
MD5 f9e77657635e67d44c1a663afdabd16c
BLAKE2b-256 bf101593876b573149e51a3a10d3e985242d38b9b77a12f89185ddedea837182

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page