Bug 8666 - Add bash completion to argparse-using scripts
Summary: Add bash completion to argparse-using scripts
Status: NEW
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: devtools / tool chain (show other bugs)
Version: 2.0
Hardware: All Multiple
: Medium enhancement
Target Milestone: 6.99
Assignee: Unassigned
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2015-11-07 23:55 UTC by Paul Eggleton
Modified: 2026-07-16 15:28 UTC (History)
5 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: Don't know


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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