vscode-extension icon indicating copy to clipboard operation
vscode-extension copied to clipboard

Nice to have: Additional Cicero commands in command palette

Open martinhalford opened this issue 4 years ago • 0 comments

Is your feature request related to a problem? Please describe.

Cicero provides the following commands via the CLI - parse, draft, normalize, trigger, invoke, initialize, archive, compile and get.

In VSCode Extension version 0.21.13, the trigger and archive commands are exposed via the command palette. It would be nice if some of the other Cicero CLI commands could be added too.

Describe the solution you'd like

For example,

  • parse - input /text/sample.md and generate a /text/data.json output file.
  • draft - input /text/data.json and generate a /text/sample.md output file. ...and similar for normalize, invoke, etc.

Maybe consider having a way to specify optional parameters if defaults not appropriate? E.g., an options.json file in, say, template root for optional parameters, such as --output, --wrapVariables, --unquoteVariables, --format etc.?)

{
   "parse":{
      "output":"./text/data.json",
      "currentTime":"null",
      "warnings":false,
      etc...etc...
   },
   "draft":{
      "output":"./text/sample.md",
      "wrapVariables":false,
      "unquoteVariables":false,
      etc...etc...
   },
   etc...etc...
}

Describe alternatives you've considered Alternatively, keep using Cicero CLI, which works fine too! :-)

martinhalford avatar Aug 13 '20 02:08 martinhalford