Skip to content

Commit

Permalink
lex list, not lex group
Browse files Browse the repository at this point in the history
  • Loading branch information
bnewbold committed Dec 24, 2024
1 parent 809f3ba commit 67d9b56
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
7 changes: 4 additions & 3 deletions cmd/goat/lexicon.go
Original file line number Diff line number Diff line change
Expand Up @@ -49,11 +49,12 @@ var cmdLex = &cli.Command{
Action: runLexPublish,
},
&cli.Command{
Name: "group",
Name: "ls",
Aliases: []string{"list"},
Usage: "list all known Lexicon NSIDs at the same level of hierarchy",
ArgsUsage: `<nsid>`,
Flags: []cli.Flag{},
Action: runLexGroup,
Action: runLexList,
},
&cli.Command{
Name: "validate",
Expand Down Expand Up @@ -198,7 +199,7 @@ func runLexResolve(cctx *cli.Context) error {
return nil
}

func runLexGroup(cctx *cli.Context) error {
func runLexList(cctx *cli.Context) error {
ctx := cctx.Context
raw := cctx.Args().First()
if raw == "" {
Expand Down
1 change: 1 addition & 0 deletions cmd/goat/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ func run(args []string) error {
cmdResolve,
cmdRepo,
cmdBlob,
cmdLex,
cmdAccount,
cmdPLC,
cmdBsky,
Expand Down

0 comments on commit 67d9b56

Please sign in to comment.