Skip to content

UserCli

UserCli is used by UnityCatalogCli to handle user sub-commands.

$ ./bin/uc user --help
Please provide a valid sub-command for user.
Valid sub-commands for user are: get, create, update, list, delete
For detailed help on user sub-commands, use bin/uc user <sub-command> --help

Handle Command Line

void handle(
  CommandLine cmd,
  ApiClient apiClient)

handle handles the given cmd.

handle creates a UsersApi (with the given ApiClient).

Subcommand Handler API Handlers
create createUser UsersApi
delete deleteUser UsersApi
get getUser UsersApi
list listUsers UsersApi
update updateUser UsersApi

handle is used when: