Skip to content

Interactive mode's command list still shows backup taking a single name #69

Closed

Description

@dmccoystephenson

Since #68, the interactive backup command backs up every name it is given (backup octocat github), and COMMANDS.md, USER_GUIDE.md and the command's own usage hint (Usage: backup <user/org> [user/org2] ...) all say so. The command list that interactive mode prints, however, still shows only one name, in two places in src/main/java/com/github/backup/BackupCommandLineRunner.java:

  • the banner printed on start (runInteractiveMode): backup <user/org> - Backup repositories for a user or organization
  • the help command's output: the same line

A user reading the on-screen list therefore has no way to learn that several names can be given at once, short of mistyping backup with no name.

Suggested fix: list the command as backup <user/org> [user/org2] ... in both places, matching the usage hint and COMMANDS.md, realign the other rows, and cover both outputs in BackupCommandLineRunnerTest.

This issue was drafted during a Gardener session (https://github.com/Stephenson-Software/gardener).


drafted by Claude on behalf of Daniel Stephenson

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions