You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tailscale/cmd/tailscale/cli
Percy Wegmann 42a215e12a cmd/tailscale/cli: prompt for y/n when attempting risky action
Previously, when attempting a risky action, the CLI printed a 5 second countdown saying
"Continuing in 5 seconds...". When the countdown finished, the CLI aborted rather than
continuing.

To avoid confusion, but also avoid accidentally continuing if someone (or an automated
process) fails to manually abort within the countdown, we now explicitly prompt for a
y/n response on whether or not to continue.

Updates #15445

Co-authored-by: Kot C <kot@kot.pink>
Signed-off-by: Percy Wegmann <percy@tailscale.com>
3 months ago
..
ffcomplete all: add test for package comments, fix, add comments as needed 1 year ago
bugreport.go cmd/tailscale/cli: prefix all --help usages with "tailscale ...", some tidying 2 years ago
cert.go cmd/tailscale: add --min-validity flag to the cert command (#12822) 1 year ago
cli.go cmd/tailscale: add --json-docs flag (#16851) 4 months ago
cli_test.go cmd/tailscale/cli: remove advertise command (#16592) 5 months ago
configure-jetkvm.go cmd/tailscale/cli: add "configure jetkvm" subcommand 5 months ago
configure-kube.go cmd/tailscale/cli: make configure kubeconfig accept Tailscale Services (#16601) 5 months ago
configure-kube_omit.go cmd/tailscale: define CLI tools to manipulate macOS network and system extensions (#14727) 11 months ago
configure-kube_test.go cmd/tailscale/cli: make configure kubeconfig accept Tailscale Services (#16601) 5 months ago
configure-synology-cert.go cmd/tailscale: define CLI tools to manipulate macOS network and system extensions (#14727) 11 months ago
configure-synology-cert_test.go cmd/tailscale/cli: Add CLI command to update certs on Synology devices. 2 years ago
configure-synology.go cmd/tailscale: define CLI tools to manipulate macOS network and system extensions (#14727) 11 months ago
configure.go cmd/tailscale/cli: move systray configuration to tailscale configure (#16817) 4 months ago
configure_apple-all.go cmd/tailscale: define CLI tools to manipulate macOS network and system extensions (#14727) 11 months ago
configure_apple.go cmd/tailscale: fix, test some recent doc inconsistencies 11 months ago
configure_linux-all.go cmd/tailscale/cli: move systray configuration to tailscale configure (#16817) 4 months ago
configure_linux.go cmd/tailscale/cli: move systray configuration to tailscale configure (#16817) 4 months ago
debug-capture.go feature/capture: move packet capture to feature/*, out of iOS + CLI 11 months ago
debug.go cmd/tailscale/cli: add a debug command to force a risky action 3 months ago
diag.go various: add detection and Taildrop for Unraid 3 years ago
diag_other.go all: update copyright and license headers 3 years ago
dns-query.go cmd/tailscale: clean up dns --help messages (#16306) 6 months ago
dns-status.go cmd/tailscale: clean up dns --help messages (#16306) 6 months ago
dns.go cmd/tailscale: clean up dns --help messages (#16306) 6 months ago
down.go cmd/tailscale/cli: update tailscale down to accept an optional --reason 10 months ago
drive.go cmd/tailscale: resolve taildrive share paths 1 year ago
exitnode.go cmd/tailscale: format empty cities and countries as hyphens (#16495) 5 months ago
exitnode_test.go cmd/tailscale: format empty cities and countries as hyphens (#16495) 5 months ago
file.go syncs: delete WaitGroup and use sync.WaitGroup.Go in Go 1.25 3 months ago
funnel.go cli/funnel: fix comment typo (#14840) 10 months ago
id-token.go cmd/tailscale: add shell tab-completion 2 years ago
ip.go cmd/tailscale/cli: prefix all --help usages with "tailscale ...", some tidying 2 years ago
licenses.go cmd/tailscale/cli: prefix all --help usages with "tailscale ...", some tidying 2 years ago
login.go cmd/tailscale/cli: prefix all --help usages with "tailscale ...", some tidying 2 years ago
logout.go cmd/tailscale/cli,ipn/ipnlocal: restrict logout when AlwaysOn mode is enabled 5 months ago
metrics.go cmd/tailscale: fix, test some recent doc inconsistencies 11 months ago
nc.go cmd/tailscale: add shell tab-completion 2 years ago
netcheck.go cmd/tailscale: fix a panic in netcheck portmapper construction (#16843) 4 months ago
network-lock.go cmd/tailscale: use text format for TKA head 5 months ago
ping.go cmd/tailscale, ipn/ipnstate, wgengine/magicsock: update ping output for peer relay (#16515) 5 months ago
risks.go cmd/tailscale/cli: prompt for y/n when attempting risky action 3 months ago
serve_legacy.go cmd/tailscale/cli: revert key for web config for services to FQDN (#16627) 5 months ago
serve_legacy_test.go cmd/tailscale/cli: revert key for web config for services to FQDN (#16627) 5 months ago
serve_v2.go cmd/tailscale/cli: update message for disable service (#16705) 4 months ago
serve_v2_test.go cmd/tailscale/cli: add advertise command to advertise a node as service proxy to tailnet (#16620) 5 months ago
set.go cmd/tailscale/cli: add support for tailscale {up,set} --exit-node=auto:any 5 months ago
set_test.go cmd/tailscale/cli: prevent all dup flags, not just strings 8 months ago
ssh.go cmd/tailscale: allow SSH to IPs or DNS names without MagicDNS (#16591) 5 months ago
ssh_exec.go all: update copyright and license headers 3 years ago
ssh_exec_js.go all: update copyright and license headers 3 years ago
ssh_exec_windows.go all: update copyright and license headers 3 years ago
ssh_unix.go types/logger, cmd/tailscale/cli: flesh out, simplify some non-unix build tags 2 years ago
status.go cmd/tailscale/cli: use DNS name instead of Location to hide Mullvad exit nodes from status output 5 months ago
switch.go cmd/tailscale: fix, test some recent doc inconsistencies 11 months ago
syspolicy.go cmd/tailscale: fix, test some recent doc inconsistencies 11 months ago
systray.go cmd/tailscale/cli: move systray configuration to tailscale configure (#16817) 4 months ago
systray_omit.go cmd/tailscale: add systray subcommand on Linux builds 4 months ago
up.go cmd/tailscale/cli: add support for tailscale {up,set} --exit-node=auto:any 5 months ago
up_test.go cmd/tailscale/cli: rename "--posture-checking" to "--report-posture" 7 months ago
update.go util/prompt: make yes/no prompt reusable 6 months ago
version.go cmd/tailscale/cli: prefix all --help usages with "tailscale ...", some tidying 2 years ago
web.go client/web: add Sec-Fetch-Site CSRF protection (#16046) 7 months ago
web_test.go client/web: extract web client from cli package 2 years ago
whois.go proxymap, various: distinguish between different protocols 1 year ago