diff options
| author | Danilo M. <danix@danix.xyz> | 2026-06-24 09:57:33 +0200 |
|---|---|---|
| committer | Danilo M. <danix@danix.xyz> | 2026-06-24 09:57:33 +0200 |
| commit | 345968271dec38b33a32649d8cfb767c2806330d (patch) | |
| tree | df90e30c02189a38628bc10829fecfebec0b53d4 /COPYING | |
| parent | eeaba25642392532901cd4c95c23054e9a7ba2b3 (diff) | |
| download | gitctl-345968271dec38b33a32649d8cfb767c2806330d.tar.gz gitctl-345968271dec38b33a32649d8cfb767c2806330d.zip | |
feat: global -y/--yes flag to skip additive confirmations
repo create's y/N push confirmation can now be skipped with -y. The flag
is global (top-level parser), so it goes before the subcommand:
gitctl -y repo create ... . The diff is still printed and an
auto-confirmed note shown. -y does NOT bypass SSH key auth (the phase-1
push still needs the password / smartcard touch), so creation is never
fully unattended.
Hard wall: -y is never honored by a future destructive delete; the flag
help, a client comment, and TODO item 1 all record this. Bash completion
offers -y at the top level and transparently skips a leading -y when
resolving the subcommand. Self-test pins the parse round-trip.
Client-only change; the server helper is unchanged, no redeploy needed.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Diffstat (limited to 'COPYING')
0 files changed, 0 insertions, 0 deletions
