mirror of
https://github.com/apple/container.git
synced 2026-09-28 01:46:25 -04:00
Cleans up option groups, container subcommand help. (#647)
- Part of #515. - Add titles to option groups for container subcommands. - Order option groups and container subcommand options alphabetically. - Use `container-id` and `container-ids` consistently as argument names. - Shorten long valueNames to avoid option column overflow in help output where possible. - Replace customShort and customLong with short, long, and shortAndLong where possible. - Always place global options and arguments after alphabetized command-specific options. - Rename RunCommand to ContainerRun and relocate it. - Rename Executable to ContainerCLI. ## Type of Change - [ ] Bug fix - [ ] New feature - [x] Breaking change (if you're depending on `RunCommand`, renamed). - [ ] Documentation update ## Motivation and Context See #385. ## Testing - [ ] Tested locally - [ ] Added/updated tests - [ ] Added/updated docs
This commit is contained in:
@@ -59,7 +59,7 @@ public struct Application: AsyncParsableCommand {
|
||||
ContainerKill.self,
|
||||
ContainerList.self,
|
||||
ContainerLogs.self,
|
||||
ContainerRunCommand.self,
|
||||
ContainerRun.self,
|
||||
ContainerStart.self,
|
||||
ContainerStop.self,
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user