Konubinix' opinionated web of thoughts

Clk Sensible Default

Fleeting

When creating a command in clk, you are supposed to guess from the calling context as much a possible.

Think of git commands that make sense in the context of the git repository you are in when running the command.

For instance, in a slack command to download and listen to podcasts, running the command in an arbitrary directory will impact all the podcasts.

clk podcast new-episodes
Updating for 3Blue1Brown
Updating for 3ZZZ
...

While running it in the directory of a podcast will only update this podcast.

pushd ~/perso/podcast/LaTroncheEnBiais && clk podcast new-episodes
Updating for LaTroncheEnBiais

Notes linking here