elway: multi-host fan-out (--hosts a,b,c) #5
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Currently elway targets a single host per invocation. For fleet-wide operations you
for h in host1 host2; do scripts/elway $h ...; done, which works but loses a unified summary.Proposal
--hosts host1,host2,host3OR repeated--host hostflags (positional host arg stays for single-host convenience).--parallel Nflag runs N hosts concurrently with buffered output printed per-host after each finishes.Implementation impact
main()to loop over hosts (~20 LOC).LOE
Sequential: ~30 LOC, afternoon.
Parallel: ~60-80 LOC on top of sequential.