You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[#6136] improvement(CLI): Move check for enable and disable command in Gravitino CLI to command (#6535)
### What changes were proposed in this pull request?
Move check for enable and disable command in Gravitino CLI to command
### Why are the changes needed?
Fix: #6136
### Does this PR introduce _any_ user-facing change?
No
### How was this patch tested?
local test
```bash
gcli metalake update -m demo_metalake --disable -i
demo_metalake has been disabled.
gcli metalake update -m demo_metalake --enable -i
demo_metalake has been enabled.
gcli metalake update -m demo_metalake --enable --disable -i
Unable to us --enable and --disable at the same time
gcli metalake update -m demo_metalake --enable --all -i
demo_metalake has been enabled. and all catalogs in this metalake have been enabled.
gcli catalog update -m demo_metalake --name Hive_catalog --disable -i
demo_metalake.Hive_catalog has been disabled.
gcli catalog update -m demo_metalake --name Hive_catalog --enable -i
demo_metalake.Hive_catalog has been enabled.
gcli catalog update -m demo_metalake --name Hive_catalog --enable --disable -i
Unable to us --enable and --disable at the same time
```
---------
Co-authored-by: Justin Mclean <justin@classsoftware.com>
0 commit comments