Skip to content
This repository was archived by the owner on Apr 4, 2025. It is now read-only.
This repository was archived by the owner on Apr 4, 2025. It is now read-only.

Interactive input dialog #11

@dansanderson

Description

@dansanderson

The command line tool should have two running modes: an interactive mode and a batch mode. In batch mode, all inputs for the schematic are specified on the command line, and input validation errors terminate the tool with a message. In interactive mode, a schematic can be invoked with or without arguments on the command line, and the tool begins an interactive dialog describing the behavior of the schematic, and presents and prompts for values for some or all inputs. Inputs with defaults or whose values were provided by another source are presented for confirmation ("press enter to accept default"-style). After all prompts have been presented, show a confirmation screen with all inputs and accepted values, and allow selective adjustment of values.

Schematic properties will need short and long descriptions and a value type (string, boolean, maybe number).

The confirmation screen can come after all rules have been evaluated to report conflicts and errors and allow the user to adjust inputs interactively to resolve the conflicts. After confirmation, the schematic can execute side effects (FSSink, task execution).

(Ask me for a more detailed design or demo. I have a full implementation in a related tool.)

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions