A `cli` that helps you manage your `cli` commands
Project description
A cli
that helps you manage your cli
commands.
Design
Basically, cfi
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 cfi
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 cfi
Basic Workflow
- Initialize
cfi
:
cfi init
- Create a
cli
template:
cfi add -h
- Fill a
cli
template:
cfi load -h
Common Usages
Fun fact: you can add
cfi
template withcfi
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.0.tar.gz
(7.7 kB
view details)
File details
Details for the file carefree_cli-0.1.0.tar.gz
.
File metadata
- Download URL: carefree_cli-0.1.0.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 | 35a0f2f74a742cb07f9ade1275c9714b8ee1923027e2a625eca5ce25da8f0004 |
|
MD5 | 9d46ef9825913c47c663eb80cb63e168 |
|
BLAKE2b-256 | af1a549518a518464dc8dfa0a3be901bc7d42c0552bdcea083ff3012d9fc9fa9 |