0.0.7 โ€ข Published 1 year ago

csg-cli v0.0.7

Weekly downloads
-
License
MIT
Repository
-
Last release
1 year ago

CSG CLI

Command line tool to generate cheat-sheet-html. eg: www.somecore.com

Command Help

Usage: csg-cli [output-dir] [--help|h]

  Displays help information.

Options:

  --version, -v   Show version number
  --help, -h      Displays help information.
  --watch, -w     Watch and compile Markdown files.
  --output, -o    Output directory. defalut(dist)
  --force, -f     Force file regeneration.

Example:

  $ npx csg-cli
  $ csg-cli --watch
  $ csg-cli --output website
  $ csg-cli

csg-cli@v0.0.1

Config

Store .refsrc.json in the root directory of the project

{
  "title": "CSG CLI",
  "description": "{{description}}. Sharing Quick Reference Cheat Sheets for Developers",
  "keywords": "csg-cli,csg,cli",
  "data-info": "๐Ÿ‘†๐Ÿ‘†need your participation",
  "search": {
    "label": "Search",
    "placeholder": "Search for cheatsheet",
    "cancel": "Cancel"
  },
  "editor": {
    "label": "Edit"
  },
  "github": {
    "url": ""
  },
  "home": {
    "label": "Home",
    "url": ""
  }
}