Add completion spec: iproute2 (ip)#261
Conversation
Add top-level command completions for the ip command (iproute2): - All subcommands (address, link, route, netns, etc.) - All global flags (-json, -brief, -netns, -family, etc.) - Generator for network namespace names (-netns flag) Individual subcommand completions are tracked as child issues. Resolves: APP-3969 Co-Authored-By: Oz <oz-agent@warp.dev>
APP-3969 [Auto] Add ip completions
Add top-level command completions for Fish shell reference implementation: https://github.com/fish-shell/fish-shell/blob/master/share/completions/ip.fish |
Generator Screenshot Validation:
|

Summary
Add top-level command completions for the
ipcommand (iproute2), the standard Linux networking utility for managing routing, network devices, interfaces, and tunnels.Linear ticket: APP-3969
What's included
Subcommands
All
ipobjects as subcommands:address,addrlabel,fou,help,ila,ioam,l2tp,link,macsec,maddress,monitor,mptcp,mroute,mrule,neighbour,netconf,netns,nexthop,ntable,route,rule,sr,tap,tcpmetrics,token,tunnel,tuntap,vrf,xfrm.Global options
All global flags including
-json,-brief,-netns,-family,-batch,-oneline,-color,-resolve,-statistics,-details,-human-readable,-pretty,-timestamp,-all,-Numeric,-Version, and protocol family shortcuts (-4,-6,-M,-B,-0).Generators
netns: Lists available network namespaces viaip netns listfor the-netnsflagScope
This PR covers top-level completions only. Individual subcommand completions (e.g.,
ip address add,ip link set) are tracked as child issues of APP-3969.Research sources
ip helpoutput (iproute2)ip(8)man pageTesting
script/presubmitpasses (fmt, clippy, 54 tests)Conversation: https://staging.warp.dev/conversation/d8ebb1e4-9630-4e31-88ce-01c4853128c1
This PR was generated with Oz.