adambaumeister / skilletcli

CLI for interacting with Palo Alto skillets.
Apache License 2.0
4 stars 4 forks source link

FR: Github Skillet repository List #9

Closed adambaumeister closed 5 years ago

adambaumeister commented 5 years ago

Current behavior Currently, skilletcli lets you pull from any github hosted public skillet repo.

However, it offers no interface to list the repos available. It also forces you to specify the entire path to the remote repository.

skilletcli.py --repository alias-for-repo --repopath https://github.com/path-to-repo

Feature description: Provide ability for cli users to list and select from the available skillets on Github.

Feature details: Client code skilletcli.py should be updated to include:

--repositories

and should produce a list of Github hosted repositories in a nice-ish format like

 skillet-name : github repository description

Futher, using the repository flag and specifying the remote github repo should automatically retrieve it (instead of having to specify repopath as it is currently)

--repository home-skillet

There is already code for listing the snippets that is utilized by the skillet API code under remotes/github.

adambaumeister commented 5 years ago

Added by Sameer in #12