Skip loading local config in designated mgr/ag cli commands #1681
Labels
comp:cli
Related to CLI component
effort:normal
Need to understand a few modules / some extent of contextual or historical information.
urgency:2
With time limit, it should be finished within it; otherwise, resolve it when no other chores.
Milestone
By default,
backend.ai mgr
,backend.ai ag
, and similar per-service CLI commands load the local configuration (manager.toml
,agent.toml
, ...) even when the specific command does not actually require the full local configuration.Examples of such command is
backend.ai mgr gql show
,backend.ai mgr generate-api-keypair
, etc.Let's allow them to be runnable without having the configuration files, by extending
CLIContext
.The text was updated successfully, but these errors were encountered: