Add flags to allow passing values from command line #17

Open
opened 2025-08-01 18:06:57 -05:00 by jayne · 0 comments
Owner

An earlier update shifted from flag-based input to prompt-based. Prompt-based input is great most of the time, but sometimes having flag based input would be helpful when repeatedly replaying the same build for testing - skipping prompts that are provided via flag.

Similarly, exporting settings to file based on hostname would be helpful for ensuring settings are consistent between rebuilds as well as make it easier to replay. Might be the better option to focus on - the script can then just prompt for hostname, then if it finds a file matching that host, ask if those settings should be reused (can do yes, no or partial, with the latter setting the values from file as default to make entry faster)

An earlier update shifted from flag-based input to prompt-based. Prompt-based input is great most of the time, but sometimes having flag based input would be helpful when repeatedly replaying the same build for testing - skipping prompts that are provided via flag. Similarly, exporting settings to file based on hostname would be helpful for ensuring settings are consistent between rebuilds as well as make it easier to replay. Might be the better option to focus on - the script can then just prompt for hostname, then if it finds a file matching that host, ask if those settings should be reused (can do yes, no or partial, with the latter setting the values from file as default to make entry faster)
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: actcur-ansible/playbook-builder#17
No description provided.