Skip to content

Commit

Permalink
Add quickstarts list [CLI-90] (#254)
Browse files Browse the repository at this point in the history
* Add `quickstarts list`

* Fix test

* Fix linter error

* Address review feedback
  • Loading branch information
Widcket authored Apr 19, 2021
1 parent ba8e0d5 commit cd70733
Show file tree
Hide file tree
Showing 8 changed files with 569 additions and 397 deletions.
10 changes: 10 additions & 0 deletions internal/auth0/quickstart.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
package auth0

type Quickstart struct {
Name string `json:"name"`
Path string `json:"path"`
Samples []string `json:"samples"`
Org string `json:"org"`
Repo string `json:"repo"`
Branch string `json:"branch,omitempty"`
}
2 changes: 1 addition & 1 deletion internal/cli/apps_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ func TestClientsListCmd(t *testing.T) {
expectTable(t, stdout.String(),
[]string{"CLIENT ID", "NAME", "TYPE"},
[][]string{
{"some-id", "some-name", "generic"},
{"some-id", "some-name", "Generic"},
},
)
}
Loading

0 comments on commit cd70733

Please sign in to comment.