Skip to main content

Deprecated: use justx instead (https://pypi.org/project/justx/)

Project description

⚠️ This package is no longer being maintained. ckit has been renamed to justx and now leverages just's justfiles instead of custom YAML syntax.

ckit

ckit is a command line utility to help you organise and quickly run frequently used commands.

Quickstart

Installation

ckit can be installed by running

pip install ckit

To get started, run

ckit init

which will prompt to add a ckit/ckit.yaml file in the user's home directory for global commands, and/or a ckit.yaml file in the current directory for commands specific to the current project.

To use ckit to run any of the pre-configured commands, simply run

ckit

For more information, see the documentation.

Configuration

ckit can look for configuration in the following two locations:

  • In a ckit.yaml file in the current directory
  • In any .yaml file in the the global configuration directory, which is defaulted to ~/ckit, but which can be overridden with the environment variable ckit_HOME.

An example .yaml file could look as follows:

test:
  my-command:
    cmd: "echo Hello! My name is: $name. My favourite fruit is: $fruit"
    echo: false
    args:
      - name
      - fruit: apple

Which adds the command group test wth a single command called my-command. When my-command is selected to be run, ckit prompts the user for name and fruit before running the command specified in cmd, where fruit is defaulted to apple if the user does not give any input.

For more details, see the configuration section of the documentation.


Repository initiated with fpgmaas/cookiecutter-poetry.

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

ckit-0.3.1.tar.gz (8.1 kB view details)

Uploaded Source

Built Distribution

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

ckit-0.3.1-py3-none-any.whl (12.0 kB view details)

Uploaded Python 3

File details

Details for the file ckit-0.3.1.tar.gz.

File metadata

  • Download URL: ckit-0.3.1.tar.gz
  • Upload date:
  • Size: 8.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.3.2 CPython/3.11.14 Linux/6.14.0-1017-azure

File hashes

Hashes for ckit-0.3.1.tar.gz
Algorithm Hash digest
SHA256 7143a0f04c6b7e4ae927c2725671ee3d6ce95f505461a461fe4aa24e128d45c9
MD5 60c1cf13da8bef0db8c42db0a61438e9
BLAKE2b-256 138f428f80b56ef26bf0b18cde54035c995ca9ed8240b085b9a93091a246bd7a

See more details on using hashes here.

File details

Details for the file ckit-0.3.1-py3-none-any.whl.

File metadata

  • Download URL: ckit-0.3.1-py3-none-any.whl
  • Upload date:
  • Size: 12.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.3.2 CPython/3.11.14 Linux/6.14.0-1017-azure

File hashes

Hashes for ckit-0.3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 5dc651fb8a3099f6da4578d4a53e504b7f31b9038d9ca2169cbf1f9cdf23cbe5
MD5 9cc732ed80605e1e849680c44b084e50
BLAKE2b-256 067c0be745795c67c894e448662e6146dea883b2bdb0a013af5c6d566c4a76f7

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