Pack up your command
$ python3 -m pip install -e path/to/laconic
...
$ lcn <command>
...
Assume you're using following command frequently
$ kubectl get pods --sort-by=.metadata.name --field-selector=status.phase=Running
by changing value of sort-by
and field-selector
.
laconic
offers packaged command, by wrapping up existing command.
$ lcn put k8s-sort-field "kubectl get pods --sort-by={1} --field-selector=status.phase={2}"
...
// this commands works same as 'kubectl get pods --sort-by=.metadata.name --field-selector=status.phase=Running'
$ lcn run k8s-sort-field .metadata.name Running
create
: Create command storageget
: Get value from storage with keyput
: Put command set to storagerun
: Trigger command in storagelist
: Display list of key-value sets in storagedelete
: Delete key-value set from storage