在試用一些工具時,有找到 cheat & cheatsheets 的方式,覺得在 command line 上還滿方便的,就來試試看 & 加以紀錄

使用方式

  • cheat/cheat 下載對應的 binary 檔,放到自己的 path 中
  • 執行 init config 設定
    1
    $ mkdir -p ~/.config/cheat && cheat --init > ~/.config/cheat/conf.yml
  • 看 ~/.config/cheat/conf.yml 的檔案,建立需要的 folder,其中 community 我是用 git clone 的方式
    1
    2
    $ cd ~/.config/cheat/cheatsheets
    $ git clone https://github.com/cheat/cheatsheets community

Reference

Comments

2020-09-23