Provide NPM Initializers #62
Labels
cli
Concerns the piral-cli application.
documentation
Concerns the available documentation.
enhancement
New feature or request
Milestone
Description
Right now (a global installation of) the Piral CLI with parameters passed as CLI arguments needs to be used for scaffolding a new pilet or a new Piral instance. Both cases should be simplified to provide a really simple way of scaffolding a pilet or Piral instance.
Ideally, NPM itself can be used for this process:
would create a new pilet, while
would create a new Piral instance.
In a bit older NPM versions
npx
could be used:All of these commands would not work with CLI parameters, but with command prompts. As such they provide an easy and interactive way of scaffolding.
Background
This idea has been discussed with a bit of background in #61. In particular, the current way of requiring a global installation is not super user friendly. The Piral CLI continues to work locally, however, for scaffolding this is (due to chicken-egg...) not working out.
Discussion
Essentially, these two new commands represent two initializer packages, that just wrap the Piral CLI with a questionnaire run as command line prompts.
The text was updated successfully, but these errors were encountered: