juju / charmstore-client

Client for charmstore.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add abililty to search for charms on charmstore through cli

jlosito opened this issue · comments

What version am I running?

$ snap info charm
name:      charm
summary:   charm and charm-tools
publisher: Cory Johns (johnsca)
contact:   juju@lists.ubuntu.com
license:   unset
description: |
  charmstore-client and charm-tools
commands:
  - charm
snap-id:      2Rryoc2ylScfbFl4eQtpntHD9iuZuMvt
tracking:     edge
refresh-date: 4 days ago, at 11:28 EDT
channels:
  stable:    2.7.2               2019-10-09 (397) 58MB classic
  candidate: 2.7.2               2019-10-09 (397) 58MB classic
  beta:      2.7.2               2019-10-09 (397) 58MB classic
  edge:      2.7.2+git-1-2bba009 2019-10-08 (404) 58MB classic
installed:   2.7.2+git-1-2bba009            (404) 58MB classic

Issue/Feature

I would like to be able to search for charms on the charmstore through the cli in a similar manner to Chef's knife supermarket search $search_query. The search query could be an expression of the charm name with some optional filters.

For example,

$ charm search charm --tags social,git --series xenial,bionic
some_charm:
  description: Some description about what the charm does.
  author: some_author
  url: https://www.charm_homepage.com/
another_charm:
  description: A different description about the another_charm.
  author: some_author′ 
  url: https://www.another_charm.com/

Thanks, this is definitely in the plans for an updated charm/charmstore experience in the future along with the ability to do the search from the Juju cli itself.

Closing due to inactivity.