Bug 8666

Summary: Add bash completion to argparse-using scripts
Product: [Build System, Metadata & Runtime] OE-Core Reporter: Paul Eggleton <bluelightning>
Component: devtools / tool chainAssignee: Unassigned <unassigned>
Status: NEW --- QA Contact:
Severity: enhancement    
Priority: Medium CC: mark.asselstine, meta.mr.watcher, meta.watcher, randy.macleod, sgw
Version: 2.0   
Target Milestone: 6.99   
Hardware: All   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: Don't know

Description Paul Eggleton 2015-11-07 23:55:29 UTC
It would be nice if we could have bash completion enabled for scripts (in particular devtool, recipetool, bitbake-layers and oe-pkgdata-util).

Probably the easiest way would be to use argcomplete:

https://argcomplete.readthedocs.org/en/latest/

It looks like we should be able to pull this into bitbake and set up the completion within the environment setup script.

Finally we'd want this to work within the extensible SDK given that devtool is available there also.
Comment 1 Benjamin Esquivel 2015-11-09 15:43:18 UTC
I remember talking about this with Saul about a year ago.
Comment 2 Randy MacLeod 2023-10-24 14:24:51 UTC
Bulk move from 4.99 or 0.00 to 5.99