Skip to content

aio rt <any-subcommand-or-none> --help doesn't print the list of subcommands available #769

@iivvaannxx

Description

@iivvaannxx

Expected Behaviour

The command prints the subcommands available under the aio rt namespace when invoking with --help flag.

Actual Behaviour

When using --help in aio rt or aio rt <subcommand> the list of subcommands is not printed. This does not happen if using aio runtime, or any other command like aio app for example.

Steps to Reproduce

  1. Run aio rt. This prints:

    aio rt              
    Execute runtime commands
    
    USAGE
      $ aio runtime [--cert] [--key] [--apiversion] [--apihost] [-u] [-i] [--debug <value>] [-v] [--version] [--help]
    
    FLAGS
      -i, --insecure   bypass certificate check
      -u, --auth       whisk auth
      -v, --verbose    Verbose output
      --apihost        whisk API host
      --apiversion     whisk API version
      --cert           client cert
      --debug=<value>  Debug level output
      --help           Show help
      --key            client key
      --version        Show version
    
    DESCRIPTION
      Execute runtime commands
    
    ALIASES
      $ aio rt
    
    TOPICS
      runtime action      Manage your actions
      runtime activation  Manage your activations
      runtime api         Manage your api routes
      runtime deploy      The Runtime Deployment Tool
      runtime namespace   Manage your namespaces
      runtime package     Manage your packages
      runtime property    Execute property commands
      runtime rule        Manage your rules
      runtime trigger     Manage your triggers
    
    COMMANDS
      runtime action      Manage your actions
      runtime activation  Manage your activations
      runtime api         Manage your api routes
      runtime deploy      The Runtime Deployment Tool
      runtime namespace   Manage your namespaces
      runtime package     Manage your packages
      runtime property    Execute property commands
      runtime rule        Manage your rules
      runtime trigger     Manage your triggers
    
  2. Compare with aio rt --help. This prints:

     aio rt --help       
     Execute runtime commands
     
     USAGE
       $ aio rt [--cert] [--key] [--apiversion] [--apihost] [-u] [-i] [--debug <value>] [-v] [--version] [--help]
     
     FLAGS
       -i, --insecure   bypass certificate check
       -u, --auth       whisk auth
       -v, --verbose    Verbose output
       --apihost        whisk API host
       --apiversion     whisk API version
       --cert           client cert
       --debug=<value>  Debug level output
       --help           Show help
       --key            client key
       --version        Show version
     
     DESCRIPTION
       Execute runtime commands
     
     ALIASES
       $ aio rt
    
  3. See how the TOPICS and COMMANDS are missing when using --help. This also happens under subcommands of aio rt.

Environment Info

 aio info     

  System:
    OS: macOS 15.6.1
    CPU: (16) arm64 Apple M4 Max
    Memory: 293.56 MB / 48.00 GB
    Shell: 5.9 - /bin/zsh
  Binaries:
    Node: 24.11.1 - ~/.local/state/fnm_multishells/19087_1764246147546/bin/node
    Yarn: 1.22.22 - /opt/homebrew/bin/yarn
    npm: 11.6.2 - ~/.local/state/fnm_multishells/19087_1764246147546/bin/npm
  Virtualization:
    Docker: 28.4.0 - /usr/local/bin/docker
  npmGlobalPackages:
    @adobe/aio-cli: Not Found # This is because I have it installed via `bun` not `npm`

  Proxies:
    http: (not set)
    https: (not set)
  CLI plugins:
    core:
      @adobe/aio-cli 11.0.1
      @adobe/aio-cli-plugin-app 14.3.0
      @adobe/aio-cli-plugin-app-dev 2.1.0
      @adobe/aio-cli-plugin-app-storage 1.1.0
      @adobe/aio-cli-plugin-app-templates 2.0.3
      @adobe/aio-cli-plugin-auth 4.0.1
      @adobe/aio-cli-plugin-certificate 2.0.1
      @adobe/aio-cli-plugin-config 5.0.1
      @adobe/aio-cli-plugin-console 5.0.1
      @adobe/aio-cli-plugin-events 4.0.1
      @adobe/aio-cli-plugin-info 4.0.1
      @adobe/aio-cli-plugin-runtime 8.0.0
      @adobe/aio-cli-plugin-telemetry 2.0.2
      @oclif/plugin-autocomplete 3.2.28
      @oclif/plugin-help 6.2.28
      @oclif/plugin-not-found 2.4.3
      @oclif/plugin-plugins 5.4.37
      @oclif/plugin-warn-if-update-available 3.1.39
    user:
    link:

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions