An extensible touch command with plugin support, allowing for enhanced file creation capabilities.
Project description
stouch
An extensible touch command with plugin support, allowing for enhanced file creation capabilities.
Description
stouch
is a modern take on the classic touch
command, designed to be extensible with plugins. Whether you want to slugify filenames, add timestamps, or any other custom behavior, stouch
has got you covered.
Features
- Extensible: Easily add new functionalities with plugins.
- Built-in Plugins: Comes with a slugify plugin out of the box.
- Easy to Use: Simple CLI interface powered by Typer.
Installation
Using poetry:
poetry install stouch
To install with the slugify plugin:
poetry install stouch[slugify]
Usage
Basic usage:
stouch filename.txt
Using the slugify plugin:
stouch "My New File.txt" --plugin=slugify
Developing Plugins
Check out our plugin development guide to learn how to create your own plugins for stouch
.
License
This project is licensed under the MIT License. See the LICENSE file for details.
Contributing
Contributions are welcome! Please read our contributing guidelines to get started.
Acknowledgements
- Typer for the CLI framework.
- python-slugify for the slugification utility.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file stouch-0.1.0.post1.tar.gz
.
File metadata
- Download URL: stouch-0.1.0.post1.tar.gz
- Upload date:
- Size: 3.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.6.1 CPython/3.11.5 Darwin/22.6.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 188d15fd76ec5ced4dd185e5d41faabab0e3e9d0d8def93bc31e4f31bcfac123 |
|
MD5 | 187c80841f2cdfed8f13a16d2b9500e9 |
|
BLAKE2b-256 | 470e98e994687dc8668bee815cba30751920541cf19650fac4697bcd7d43b7a0 |
File details
Details for the file stouch-0.1.0.post1-py3-none-any.whl
.
File metadata
- Download URL: stouch-0.1.0.post1-py3-none-any.whl
- Upload date:
- Size: 4.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.6.1 CPython/3.11.5 Darwin/22.6.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f023f18391c19a35f5160d8dba0acf566021a939c3952d84bb0cf0b3b0a66305 |
|
MD5 | a17876488df771a32cdf13dd993e1d92 |
|
BLAKE2b-256 | 6b6d803662226dc31ac26ad9236f12844fad865d365cb39d9a3a6d1cfee74d1c |