Skip to content

MetastoreCli

MetastoreCli is used by UnityCatalogCli to handle metastore sub-commands.

❯ ./bin/uc metastore --help
Please provide a valid sub-command for metastore.
Valid sub-commands for metastore are: get
For detailed help on metastore sub-commands, use bin/uc metastore <sub-command> --help

Handle Command Line

void handle(
  CommandLine cmd,
  ApiClient apiClient)

handle handles the given cmd that can currently by get only.

handle creates a MetastoresApi (with the given ApiClient).

Subcommand Handler API Handlers
get   MetastoresApi

handle is used when: