-
-
Notifications
You must be signed in to change notification settings - Fork 815
CLI_ASSUME_YES flag #2479
Copy link
Copy link
Closed
Labels
area: configChanges related to config files.Changes related to config files.good first issueIssues that are good for first-time contributors to pick up.Issues that are good for first-time contributors to pick up.
Metadata
Metadata
Assignees
Labels
area: configChanges related to config files.Changes related to config files.good first issueIssues that are good for first-time contributors to pick up.Issues that are good for first-time contributors to pick up.
Type
Fields
Give feedbackNo fields configured for feature.
Description
Hi. I wanted to bikeshed my Taskfile.yaml-file I used for my NixOS machines (around 8-12 of them). The UI from Taskfile can get a little messy at times, so I try to keep it clean using Charm or Rich.
I'd love to see either a way to run a command to query for prompt validation, or by exposing a global variable such as
.CLI_ASSUME_YESwe can use to kind of "side-step" thepromptwhen we need additional control.For a little bit of extra context, also work a lot with Ansible. Ansible also has issues with it's
promptfunctionality, specifically that it doesn't scale very well. Either you could have 200k machines that need an acklowledgment, or you're running in a frontend where a TTY is not available. In these cases, it's neat to be able to hook in your own special solution to ask for confirmation.