Proposal: Igniter.CLI
for expanded interactivity support
#127
Labels
enhancement
New feature or request
Igniter.CLI
for expanded interactivity support
#127
Original discussion on Discord
Prerequisite: #126
This proposal is for expanding Igniter's CLI support to offer better integration between command line arguments and interactive user prompts.
As an example, consider a version of
mix phx.new
written using Igniter. It supports many options to configure a new project, including things like--no-ecto
,--database postgres
, etc. When implemented, this proposal would allow for an interactive series of prompts that would guide users through those options, using command line arguments to skip prompts when appropriate.With the
--no-ecto
flag, specified, those prompts would be skipped:And to skip all prompts, the Igniter-global
--yes
could be used:To support this, a new
Igniter.CLI
module will be created. The specific API is a work in progress, but it may look something like this:The text was updated successfully, but these errors were encountered: