Skip to main content

1 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/

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.1 Install

  • pip install carson-tool.create_template

1.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

Metadata

Release files for carson-tool.create_template 0.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for carson-tool.create_template 0.2.0
File Size Uploaded
carson-tool.create_template-0.2.0.tar.gz 8.5 kB Details

Release files / carson-tool.create_template-0.2.0.tar.gz

Download URL carson-tool.create_template-0.2.0.tar.gz
Size 8.5 kB
Tags Source
SHA-256 checksum
How to use checksums
03ad3fa2da46f239992708d77e496cb5f61ea81a23767b564b4fc593a93c1f45
BLAKE2b-256 checksum
How to use checksums
bf101593876b573149e51a3a10d3e985242d38b9b77a12f89185ddedea837182
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via Python-urllib/3.7

Release history Release notifications | RSS feed

This release

0.2.0 This release

1 release file

0.0.1

1 release file

0.0.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page