Skip to content
This repository has been archived by the owner on Sep 5, 2023. It is now read-only.

Nice to have: Additional Cicero commands in command palette #72

Open
martinhalford opened this issue Aug 13, 2020 · 0 comments
Open

Nice to have: Additional Cicero commands in command palette #72

martinhalford opened this issue Aug 13, 2020 · 0 comments

Comments

@martinhalford
Copy link
Member

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! :-)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant