Skip to content
No description or website provided.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
autocompletion
bin
functions
misc
Dockerfile
LICENSE
README.md
fish.Dockerfile
kit.yml

README.md

Fantastic Kit 🔥🔥🔥

Shameless cheap knock off version of Shopify internal developer tool dev.

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 $HOME/src/github.com/.

Installation

Bash

Run curl https://raw.githubusercontent.com/fantastic-kit/fantastic-kit/master/bin/install.sh | bash

Fish

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:

  • fk cd
  • fk clone

Built-in commands

fk cd

cd into a project locate in $HOME/src/github.com, also supports zsh-autosuggest prompt.

fk clone

git clone a repository from github into $HOME/src/github.com/ and 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>

fk pr

Open github PRs if opened inside a git directory if the current branch is not master branch.

fk pr

fk <custom-cmd>

Create kit.yml file at the root of the project. Add custom commands to commands section.

Example 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.

You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.