A `cli` that helps you manage your `cli` commands
Project description
A cli
that helps you manage your cli
commands.
Design
Basically, carefree-cli
aims to help you when:
- you need to run lots of
cli
commands everyday. - these commands can be divided into several groups, and commands in each group are highly repetitive.
So the implementation of carefree-cli
is very simple:
- It will prompt you to create
cli
command templates and manage them in hierarchical structures. - It will prompt you to 'fill' the template with your own parameters when you want to run a command.
- It will printed out the final command for you to copy-paste / run.
Installation
carefree-cli
requires python>=3.8
.
pip install carefree-cli
Basic Workflow
- Initialize
carefree-cli
:
cfi init
- Create a
cli
template:
cfi add -h
- Fill a
cli
template:
cfi load -h
Common Usages
Fun fact: you can add
cfi
templates withcarefree-cli
itself!cfi add 'cfi add \"{template}\" {hierarchy}' cfi_add
- Get help:
cfi -h
- Install cli completion:
cfi --install-completion
- List templates:
cfi list -h
Serializations
- Export templates:
cfi export
- Import templates:
cfi import -h
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
carefree_cli-0.1.1.tar.gz
(7.7 kB
view details)
File details
Details for the file carefree_cli-0.1.1.tar.gz
.
File metadata
- Download URL: carefree_cli-0.1.1.tar.gz
- Upload date:
- Size: 7.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.8.20
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 61239b47a920d8f40b439f38a2a56ac4453c41ccf58f035a17da0a8b029cc020 |
|
MD5 | 0e63c707559e668b8e579110d87e019a |
|
BLAKE2b-256 | 26e92f5e4d1c287808815140bbc73ceca421597e4bff2afc2c86384b4f4d8323 |