Spruce up dmedia-cli, make it document DBus API
Bug #759195 reported by
Jason Gerard DeRose
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Dmedia |
Fix Released
|
Low
|
David Green |
Bug Description
I've been thinking about the best best use for the `dmedia-cli` command like script, and I've decided what I really want it to do is document the DBus API, make it easy for developers to play. I'm taking inspiration from great tools like `gst-inspect`, which I use constantly.
In particular, I want `dmedia-cli -h` to be usable as quick documentation of the DBus API, so I'm gonna take a quick stab at this, see how it works.
Related branches
lp:~david4dev/dmedia/fix-759195
- Jason Gerard DeRose: Pending requested
-
Diff: 367 lines (+235/-123)1 file modifieddmedia-cli (+235/-123)
Changed in dmedia: | |
milestone: | 0.6 → 0.7 |
Changed in dmedia: | |
milestone: | 0.7 → 0.8 |
Changed in dmedia: | |
assignee: | nobody → David Green (david4dev) |
Changed in dmedia: | |
status: | Triaged → In Progress |
Changed in dmedia: | |
status: | In Progress → Fix Committed |
Changed in dmedia: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Okay, never mind... thought this would be a quick way to better document the DBus API, but turns out argparse totally sucks for doing VSC-style commands.
Onto other things, will revisit this eventually... or if someone else wants to take a stab, by all means!