will-sh opened a new pull request, #10359: URL: https://github.com/apache/ozone/pull/10359
## What changes were proposed in this pull request? HDDS-15354. Fix nested tab completion in ozone interactive After [HDDS-15185](https://github.com/apache/ozone/pull/10348) introduced the top-level ozone interactive entry point (ozone-cli-interactive), users can reach nested CLIs with short names such as sh, s3, tenant, admin, and debug. Tab completion worked for those top-level tokens but failed for deeper input (for example sh vol, sh vol create). This change adds Picocli aliases on the nested CLI root commands so the names registered by OzoneInteractiveShell match what the JLine/picocli completer uses when resolving subcommands. ## What is the link to the Apache JIRA https://issues.apache.org/jira/browse/HDDS-15354 ## How was this patch tested? Manual — ozone interactive (cluster or compose env with Ozone CLI built from this branch): Start ozone interactive. Tab-complete top-level: sh, s3, tenant, admin, debug. Tab-complete nested paths, e.g. sh → vol / bucket / key, and at least one deeper level (e.g. sh vol → subcommands). Confirm behavior matches ozone sh --interactive for nested completion where applicable. CI - Passed -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
