Skip to content

Docs: Document Interactive Setup Options and Non-Interactive Flags (-y / --yes) in avenx init CLI Reference #777

Description

@nathanschmid08

Summary

Document the interactive project scaffolding wizard (runWizard) in avenx init and non-interactive execution flags (-y / --yes, -i / --interactive, and AVENX_FORCE_INTERACTIVE).

Context & Current State

The avenx init command includes an interactive terminal wizard (bin/wizard.js) prompting developers to select preprocessor preference (Vanilla CSS, SCSS, Less, PostCSS) and layout template structure (Blank vs Routing). Additionally, flags like -y / --yes allow bypassing prompts for automated CI environments, while AVENX_FORCE_INTERACTIVE forces interactive mode. These options are currently missing from cli-reference/commands.md.

Proposed Documentation Changes

  1. CLI Commands Reference (docs/src/content/docs/cli-reference/commands.md):
    • Expand the avenx init section to detail the interactive wizard steps and template choices.
    • Document non-interactive flag -y / --yes for skipping interactive prompts with defaults.
    • Document interactive flags -i / --interactive and the AVENX_FORCE_INTERACTIVE environment variable for scripted or headless execution environments.

Labels

  • documentation
  • enhancement
  • good first issue

Metadata

Metadata

Labels

documentationImprovements or additions to documentationenhancementNew feature or requestgood first issueGood for newcomers

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions