Skip to main content

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

  1. Initialize carefree-cli:
cfi init
  1. Create a cli template:
cfi add -h
  1. Fill a cli template:
cfi load -h

Common Usages

Fun fact: you can add cfi templates with carefree-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


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)

Uploaded Source

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

Hashes for carefree_cli-0.1.1.tar.gz
Algorithm Hash digest
SHA256 61239b47a920d8f40b439f38a2a56ac4453c41ccf58f035a17da0a8b029cc020
MD5 0e63c707559e668b8e579110d87e019a
BLAKE2b-256 26e92f5e4d1c287808815140bbc73ceca421597e4bff2afc2c86384b4f4d8323

See more details on using hashes here.

Supported by

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