csg-cli
v0.0.9
Published
Command line tool to generate cheat-sheet.
Downloads
5
Readme
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
[email protected]
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": ""
}
}