Skip to main content

Quick terminal file creation tool

Project description

:robot: tch - quick terminal file creation

A version of touch command that also works on windows. Quickly create a file or files with the tch command.

Installation

Install with pip

pip install tch

Install with UV

uv tool install tch

Usage + Examples

# create a single file
tch example.txt

# pass a full path
tch c:\example.txt

# create multiple files at once
tch test.py config.yml readme.txt

Options

--verbose or -v

  • Show all file creation notices and error messages.

Development Setup

Installation is pretty straight forward, Im using UV to manage everything.

To get it all running from scratch:

# spin up a virtual enviroment
uv venv

# activate virtual enviroment
.venv\Scripts\activate

# install all the cool dependancies
uv sync

# run tch
task run

# run pytests
task tests

References

  • Click - A Python library for building CLI's

Contact + Support

Created by Wyatt Ferguson

For any questions or comments heres how you can reach me:

:mailbox_with_mail: Email me at wyattxdev@duck.com

:tropical_drink: Follow on BlueSky @wyattf

If you find this useful and want to tip me a little coffee money:

:coffee: Buy Me A Coffee

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

tch-1.0.2.tar.gz (14.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

tch-1.0.2-py3-none-any.whl (4.1 kB view details)

Uploaded Python 3

File details

Details for the file tch-1.0.2.tar.gz.

File metadata

  • Download URL: tch-1.0.2.tar.gz
  • Upload date:
  • Size: 14.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.5.20

File hashes

Hashes for tch-1.0.2.tar.gz
Algorithm Hash digest
SHA256 4a38340fe4f17830c730bde06391f7f5dcbd4026166ea3845e0167aeeee5bbbe
MD5 643761471f38831a1985a0688a672cb4
BLAKE2b-256 f09506a7caeb9183d29f1b8aa843fea58906be0fc46439d56fd4867d0df2eb1a

See more details on using hashes here.

File details

Details for the file tch-1.0.2-py3-none-any.whl.

File metadata

  • Download URL: tch-1.0.2-py3-none-any.whl
  • Upload date:
  • Size: 4.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.5.20

File hashes

Hashes for tch-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 d361c73ea6f23a92cf5633f61b50b07791a58ab5c3db39a2991195bdffcf69f4
MD5 f7f34f911d65d5e7f03dc3d29da4c635
BLAKE2b-256 4f3bf8dd4649417220748e095a09c4d307ba8faee432a40b65594c7469d0b6d8

See more details on using hashes here.

Supported by

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