⚠️ This package is no longer being maintained.
ckithas 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.yamlfile in the current directory - In any
.yamlfile in the the global configuration directory, which is defaulted to~/ckit, but which can be overridden with the environment variableckit_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.
Metadata
Release files for ckit 0.3.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| ckit-0.3.1.tar.gz | 8.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| ckit-0.3.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 20.2 kB
Release files / ckit-0.3.1.tar.gz
| Download URL | ckit-0.3.1.tar.gz |
|---|---|
| Size | 8.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7143a0f04c6b7e4ae927c2725671ee3d6ce95f505461a461fe4aa24e128d45c9
|
|
BLAKE2b-256 checksum How to use checksums |
138f428f80b56ef26bf0b18cde54035c995ca9ed8240b085b9a93091a246bd7a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.3.2 CPython/3.11.14 Linux/6.14.0-1017-azure
|
Release files / ckit-0.3.1-py3-none-any.whl
| Download URL | ckit-0.3.1-py3-none-any.whl |
|---|---|
| Size | 12.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5dc651fb8a3099f6da4578d4a53e504b7f31b9038d9ca2169cbf1f9cdf23cbe5
|
|
BLAKE2b-256 checksum How to use checksums |
067c0be745795c67c894e448662e6146dea883b2bdb0a013af5c6d566c4a76f7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.3.2 CPython/3.11.14 Linux/6.14.0-1017-azure
|