summaryrefslogtreecommitdiffhomepage
path: root/control/controlknobs
diff options
context:
space:
mode:
authorJames Tucker <james@tailscale.com>2025-09-12 12:33:46 -0700
committerJames Tucker <jftucker@gmail.com>2025-09-30 10:27:07 -0700
commitb9cdef18c04b48a52235af4eadcd9a3193cafb3c (patch)
treebc48c03dc4645d818fdf5bcf5254683db4d2888c /control/controlknobs
parent442a3a779d29f78ba03cbd61509824f21c90cc59 (diff)
downloadtailscale-b9cdef18c04b48a52235af4eadcd9a3193cafb3c.tar.xz
tailscale-b9cdef18c04b48a52235af4eadcd9a3193cafb3c.zip
util/prompt: add a default and take default in non-interactive cases
The Tailscale CLI is the primary configuration interface and as such it is used in scripts, container setups, and many other places that do not have a terminal available and should not be made to respond to prompts. The default is set to false where the "risky" API is being used by the CLI and true otherwise, this means that the `--yes` flags are only required under interactive runs and scripts do not need to be concerned with prompts or extra flags. Updates #19445 Signed-off-by: James Tucker <james@tailscale.com>
Diffstat (limited to 'control/controlknobs')
0 files changed, 0 insertions, 0 deletions