Bug 1327157 - Publican is missing a way to list available brands (possibly taking --brand_dir option into account)
Summary: Publican is missing a way to list available brands (possibly taking --brand_d...
Keywords:
Status: NEW
Alias: None
Product: Publican
Classification: Community
Component: publican
Version: future
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Nobody
QA Contact: Ruediger Landmann
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-04-14 11:22 UTC by Jan Pokorný [poki]
Modified: 2022-04-26 19:23 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed:


Attachments (Terms of Use)

Description Jan Pokorný [poki] 2016-04-14 11:22:35 UTC
Provided I am 100% sure the location is stable, I can:

$ ls -ld /usr/share/publican/Common_Content/*/

I am afraid there is not such universal guarantee.
Hence it would be better to have Publican abstract particular
search path away (especially when considering --brand_dir option)
and offer a method for user to query such internal knowledge
(regardless of PWD/current project).

For instance: publican print-brands
(note that underscores are a little bit typing/CLI unfriendly).


Note You need to log in before you can comment on or make changes to this bug.