CLI tool for automating various tasks.
$ npm install -g cy-cli
$ cy COMMAND
running command...
$ cy (-v|--version|version)
cy-cli/0.0.1 darwin-x64 node-v14.5.0
$ cy --help [COMMAND]
USAGE
$ cy COMMAND
...
display help for cy
USAGE
$ cy help [COMMAND]
ARGUMENTS
COMMAND command to show help for
OPTIONS
--all see all commands in CLI
See code: @oclif/plugin-help
The ingest command takes various formats and processes them into a generic JSON format for manipulation and publishing.
USAGE
$ cy ingest ./my-note.md
OPTIONS
-s, --strict Enable strict mode
DESCRIPTION
...
This will take a markdown document like this:
# Title
Content.
and turn it into a JSON file like this:
{
"title": "Title",
"content": "Content.",
"date": "2020-08-10"
}
See code: src/commands/ingest.js