Skip to content

[Feature]: Init command #22

@ablankz

Description

@ablankz

🚀 Feature Proposal

Init command is used to generate a config file.

  • The config can be generated automatically by interactive questions.
  • Optionally, it should be possible to disable interactive and create a minimally configured config.
  • There are command options for SLAVE and MATTER.
  • All questions in interactive can be specified by command options, and if all are specified, the interactive prompt is not called even if "the minimum configuration" options are disabled.
  • A base file can also be specified, in which case only the missing properties will be asked. Overriding by command options is also possible.

✨ Motivation

It's a pain to write a config file every time.

📝 Additional Context

Use promptui for prompt.
Values that could be enums, etc. should be Selec and selectable, not just Input.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions