Skip to content

Commit

Permalink
clean (cli): Rename DocGen|Get|List to DocGen|Get|List *Command
Browse files Browse the repository at this point in the history
  • Loading branch information
vorburger committed Jun 27, 2024
1 parent 7947b1a commit f5d4937
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
import java.util.stream.Collectors;

@Command(name = "docgen", description = "Generate Markdown Documentation")
public class DocGen extends CommandWithModelAndOutput {
public class DocGenCommand extends CommandWithModelAndOutput {

@Option(
names = {"--diagram", "-d"},
Expand Down
6 changes: 3 additions & 3 deletions java/dev/enola/cli/EnolaCLI.java
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,9 @@
subcommands = {
HelpCommand.class,
AutoComplete.GenerateCompletion.class,
DocGen.class,
List.class,
Get.class,
DocGenCommand.class,
ListCommand.class,
GetCommand.class,
RosettaCommand.class,
ServerCommand.class,
ExecMdCommand.class,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
import picocli.CommandLine.Command;

@Command(name = "get", description = "Get Entity")
public class Get extends CommandWithEntityID {
public class GetCommand extends CommandWithEntityID {

@Override
protected void run(EnolaServiceBlockingStub service, String iri) throws Exception {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
import picocli.CommandLine.Command;

@Command(name = "list", description = "List Entities")
public class List extends CommandWithEntityID {
public class ListCommand extends CommandWithEntityID {

// With EntityKind name asks connector to list (first N?) entity IDs
// With path asks connector, and behavior is connector specific; FileRepoConnector appends a *
Expand Down

0 comments on commit f5d4937

Please sign in to comment.