🔥 🔥 🔥
Shameless cheap knock off version of Shopify internal developer tool
Command line utility
fk (stands for Fantastic Kit)
fk provides few useful commands that increase developers productivity.
fk assumes all git source directory locate at
curl https://raw.githubusercontent.com/fantastic-kit/fantastic-kit/master/bin/install.sh | bash
Install fantastic kit using fisher. Run
fisher add fantastic-kit/fantastic-kit
The fish flavour does not support all the features, but they're going to be implemented soon. Currently, fish supports:
cd into a project locate in
$HOME/src/github.com, also supports zsh-autosuggest prompt.
git clone a repository from github into
cd into the project directory. It reads from
.gitconfig for username for github.
Cloning your own repository
fk clone <my-own-repo>
Cloning public repo of other users:
fk clone <git-username>/<repo-name>
Open github PRs if opened inside a git directory if the current branch is not master branch.
kit.yml file at the root of the project. Add custom commands to
kit.yml: it compiles latex to pdf based on name of the subdirectory:
commands: latex: run: latexmk -pdf -pvc $(pwd | xargs basename).tex desc: compiling latex file to pdf on change
Then you can just run
fk latex anywhere inside the root directory where
kit.yml is located.