zen-cli 0.1.13__tar.gz → 0.1.14__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of zen-cli might be problematic. Click here for more details.
- {zen_cli-0.1.13 → zen_cli-0.1.14}/PKG-INFO +8 -4
- {zen_cli-0.1.13 → zen_cli-0.1.14}/README.md +7 -3
- {zen_cli-0.1.13 → zen_cli-0.1.14}/pyproject.toml +1 -1
- {zen_cli-0.1.13 → zen_cli-0.1.14}/src/zen_cli/cli.py +29 -2
- {zen_cli-0.1.13 → zen_cli-0.1.14}/src/zen_cli/config/prod.yaml +1 -1
- {zen_cli-0.1.13 → zen_cli-0.1.14}/src/zen_cli/ctxp/cli_processor.py +15 -2
- {zen_cli-0.1.13 → zen_cli-0.1.14}/tests/test_cli.py +13 -0
- {zen_cli-0.1.13 → zen_cli-0.1.14}/.gitignore +0 -0
- {zen_cli-0.1.13 → zen_cli-0.1.14}/LICENSE +0 -0
- {zen_cli-0.1.13 → zen_cli-0.1.14}/src/zen_cli/__init__.py +0 -0
- {zen_cli-0.1.13 → zen_cli-0.1.14}/src/zen_cli/__main__.py +0 -0
- {zen_cli-0.1.13 → zen_cli-0.1.14}/src/zen_cli/cmds/activity/__init__.py +0 -0
- {zen_cli-0.1.13 → zen_cli-0.1.14}/src/zen_cli/cmds/activity/get.py +0 -0
- {zen_cli-0.1.13 → zen_cli-0.1.14}/src/zen_cli/cmds/activity/list.py +0 -0
- {zen_cli-0.1.13 → zen_cli-0.1.14}/src/zen_cli/cmds/api.py +0 -0
- {zen_cli-0.1.13 → zen_cli-0.1.14}/src/zen_cli/cmds/auth/__init__.py +0 -0
- {zen_cli-0.1.13 → zen_cli-0.1.14}/src/zen_cli/cmds/auth/details.py +0 -0
- {zen_cli-0.1.13 → zen_cli-0.1.14}/src/zen_cli/cmds/auth/refresh.py +0 -0
- {zen_cli-0.1.13 → zen_cli-0.1.14}/src/zen_cli/cmds/auth/status.py +0 -0
- {zen_cli-0.1.13 → zen_cli-0.1.14}/src/zen_cli/cmds/auth/token.py +0 -0
- {zen_cli-0.1.13 → zen_cli-0.1.14}/src/zen_cli/cmds/completion.py +0 -0
- {zen_cli-0.1.13 → zen_cli-0.1.14}/src/zen_cli/cmds/credential/__init__.py +0 -0
- {zen_cli-0.1.13 → zen_cli-0.1.14}/src/zen_cli/cmds/credential/create.py +0 -0
- {zen_cli-0.1.13 → zen_cli-0.1.14}/src/zen_cli/cmds/credential/delete.py +0 -0
- {zen_cli-0.1.13 → zen_cli-0.1.14}/src/zen_cli/cmds/credential/get.py +0 -0
- {zen_cli-0.1.13 → zen_cli-0.1.14}/src/zen_cli/cmds/credential/list.py +0 -0
- {zen_cli-0.1.13 → zen_cli-0.1.14}/src/zen_cli/cmds/deployment/__init__.py +0 -0
- {zen_cli-0.1.13 → zen_cli-0.1.14}/src/zen_cli/cmds/deployment/create.py +0 -0
- {zen_cli-0.1.13 → zen_cli-0.1.14}/src/zen_cli/cmds/deployment/delete.py +0 -0
- {zen_cli-0.1.13 → zen_cli-0.1.14}/src/zen_cli/cmds/deployment/get.py +0 -0
- {zen_cli-0.1.13 → zen_cli-0.1.14}/src/zen_cli/cmds/deployment/list.py +0 -0
- {zen_cli-0.1.13 → zen_cli-0.1.14}/src/zen_cli/cmds/entitlement/__init__.py +0 -0
- {zen_cli-0.1.13 → zen_cli-0.1.14}/src/zen_cli/cmds/entitlement/create.py +0 -0
- {zen_cli-0.1.13 → zen_cli-0.1.14}/src/zen_cli/cmds/entitlement/delete.py +0 -0
- {zen_cli-0.1.13 → zen_cli-0.1.14}/src/zen_cli/cmds/entitlement/get.py +0 -0
- {zen_cli-0.1.13 → zen_cli-0.1.14}/src/zen_cli/cmds/entitlement/list.py +0 -0
- {zen_cli-0.1.13 → zen_cli-0.1.14}/src/zen_cli/cmds/group/__init__.py +0 -0
- {zen_cli-0.1.13 → zen_cli-0.1.14}/src/zen_cli/cmds/group/create.py +0 -0
- {zen_cli-0.1.13 → zen_cli-0.1.14}/src/zen_cli/cmds/group/delete.py +0 -0
- {zen_cli-0.1.13 → zen_cli-0.1.14}/src/zen_cli/cmds/group/get.py +0 -0
- {zen_cli-0.1.13 → zen_cli-0.1.14}/src/zen_cli/cmds/group/list.py +0 -0
- {zen_cli-0.1.13 → zen_cli-0.1.14}/src/zen_cli/cmds/login.py +0 -0
- {zen_cli-0.1.13 → zen_cli-0.1.14}/src/zen_cli/cmds/logout.py +0 -0
- {zen_cli-0.1.13 → zen_cli-0.1.14}/src/zen_cli/cmds/mcp.py +0 -0
- {zen_cli-0.1.13 → zen_cli-0.1.14}/src/zen_cli/cmds/network/__init__.py +0 -0
- {zen_cli-0.1.13 → zen_cli-0.1.14}/src/zen_cli/cmds/network/create.py +0 -0
- {zen_cli-0.1.13 → zen_cli-0.1.14}/src/zen_cli/cmds/network/delete.py +0 -0
- {zen_cli-0.1.13 → zen_cli-0.1.14}/src/zen_cli/cmds/network/get.py +0 -0
- {zen_cli-0.1.13 → zen_cli-0.1.14}/src/zen_cli/cmds/network/list.py +0 -0
- {zen_cli-0.1.13 → zen_cli-0.1.14}/src/zen_cli/cmds/notification/__init__.py +0 -0
- {zen_cli-0.1.13 → zen_cli-0.1.14}/src/zen_cli/cmds/notification/get.py +0 -0
- {zen_cli-0.1.13 → zen_cli-0.1.14}/src/zen_cli/cmds/notification/list.py +0 -0
- {zen_cli-0.1.13 → zen_cli-0.1.14}/src/zen_cli/cmds/org/__init__.py +0 -0
- {zen_cli-0.1.13 → zen_cli-0.1.14}/src/zen_cli/cmds/org/create.py +0 -0
- {zen_cli-0.1.13 → zen_cli-0.1.14}/src/zen_cli/cmds/org/get.py +0 -0
- {zen_cli-0.1.13 → zen_cli-0.1.14}/src/zen_cli/cmds/org/list.py +0 -0
- {zen_cli-0.1.13 → zen_cli-0.1.14}/src/zen_cli/cmds/org/use.py +0 -0
- {zen_cli-0.1.13 → zen_cli-0.1.14}/src/zen_cli/cmds/pool/__init__.py +0 -0
- {zen_cli-0.1.13 → zen_cli-0.1.14}/src/zen_cli/cmds/pool/create.py +0 -0
- {zen_cli-0.1.13 → zen_cli-0.1.14}/src/zen_cli/cmds/pool/delete.py +0 -0
- {zen_cli-0.1.13 → zen_cli-0.1.14}/src/zen_cli/cmds/pool/get.py +0 -0
- {zen_cli-0.1.13 → zen_cli-0.1.14}/src/zen_cli/cmds/pool/list.py +0 -0
- {zen_cli-0.1.13 → zen_cli-0.1.14}/src/zen_cli/cmds/pool/use.py +0 -0
- {zen_cli-0.1.13 → zen_cli-0.1.14}/src/zen_cli/cmds/profile/__init__.py +0 -0
- {zen_cli-0.1.13 → zen_cli-0.1.14}/src/zen_cli/cmds/profile/init.py +0 -0
- {zen_cli-0.1.13 → zen_cli-0.1.14}/src/zen_cli/cmds/provider/__init__.py +0 -0
- {zen_cli-0.1.13 → zen_cli-0.1.14}/src/zen_cli/cmds/provider/create.py +0 -0
- {zen_cli-0.1.13 → zen_cli-0.1.14}/src/zen_cli/cmds/provider/delete.py +0 -0
- {zen_cli-0.1.13 → zen_cli-0.1.14}/src/zen_cli/cmds/provider/get.py +0 -0
- {zen_cli-0.1.13 → zen_cli-0.1.14}/src/zen_cli/cmds/provider/list.py +0 -0
- {zen_cli-0.1.13 → zen_cli-0.1.14}/src/zen_cli/cmds/sag/__init__.py +0 -0
- {zen_cli-0.1.13 → zen_cli-0.1.14}/src/zen_cli/cmds/sag/create.py +0 -0
- {zen_cli-0.1.13 → zen_cli-0.1.14}/src/zen_cli/cmds/sag/delete.py +0 -0
- {zen_cli-0.1.13 → zen_cli-0.1.14}/src/zen_cli/cmds/sag/get.py +0 -0
- {zen_cli-0.1.13 → zen_cli-0.1.14}/src/zen_cli/cmds/sag/list.py +0 -0
- {zen_cli-0.1.13 → zen_cli-0.1.14}/src/zen_cli/cmds/task/__init__.py +0 -0
- {zen_cli-0.1.13 → zen_cli-0.1.14}/src/zen_cli/cmds/task/cancel.py +0 -0
- {zen_cli-0.1.13 → zen_cli-0.1.14}/src/zen_cli/cmds/task/duplicate.py +0 -0
- {zen_cli-0.1.13 → zen_cli-0.1.14}/src/zen_cli/cmds/task/get.py +0 -0
- {zen_cli-0.1.13 → zen_cli-0.1.14}/src/zen_cli/cmds/task/list.py +0 -0
- {zen_cli-0.1.13 → zen_cli-0.1.14}/src/zen_cli/cmds/task/log.py +0 -0
- {zen_cli-0.1.13 → zen_cli-0.1.14}/src/zen_cli/cmds/task/namespaces.py +0 -0
- {zen_cli-0.1.13 → zen_cli-0.1.14}/src/zen_cli/cmds/task/use.py +0 -0
- {zen_cli-0.1.13 → zen_cli-0.1.14}/src/zen_cli/cmds/task/wait.py +0 -0
- {zen_cli-0.1.13 → zen_cli-0.1.14}/src/zen_cli/cmds/upgrade.py +0 -0
- {zen_cli-0.1.13 → zen_cli-0.1.14}/src/zen_cli/cmds/vm/__init__.py +0 -0
- {zen_cli-0.1.13 → zen_cli-0.1.14}/src/zen_cli/cmds/vm/delete.py +0 -0
- {zen_cli-0.1.13 → zen_cli-0.1.14}/src/zen_cli/cmds/vm/get.py +0 -0
- {zen_cli-0.1.13 → zen_cli-0.1.14}/src/zen_cli/cmds/vm/list.py +0 -0
- {zen_cli-0.1.13 → zen_cli-0.1.14}/src/zen_cli/cmds/vm/poweroff.py +0 -0
- {zen_cli-0.1.13 → zen_cli-0.1.14}/src/zen_cli/cmds/vm/poweron.py +0 -0
- {zen_cli-0.1.13 → zen_cli-0.1.14}/src/zen_cli/cmds/vm/restart.py +0 -0
- {zen_cli-0.1.13 → zen_cli-0.1.14}/src/zen_cli/cmds/vm/shutdown.py +0 -0
- {zen_cli-0.1.13 → zen_cli-0.1.14}/src/zen_cli/cmds/vm/use.py +0 -0
- {zen_cli-0.1.13 → zen_cli-0.1.14}/src/zen_cli/cmds/vm/wait.py +0 -0
- {zen_cli-0.1.13 → zen_cli-0.1.14}/src/zen_cli/config/default.yaml +0 -0
- {zen_cli-0.1.13 → zen_cli-0.1.14}/src/zen_cli/config/int.yaml +0 -0
- {zen_cli-0.1.13 → zen_cli-0.1.14}/src/zen_cli/config/stg.yaml +0 -0
- {zen_cli-0.1.13 → zen_cli-0.1.14}/src/zen_cli/ctxp/__init__.py +0 -0
- {zen_cli-0.1.13 → zen_cli-0.1.14}/src/zen_cli/ctxp/_init.py +0 -0
- {zen_cli-0.1.13 → zen_cli-0.1.14}/src/zen_cli/ctxp/built_in_cmds/__init__.py +0 -0
- {zen_cli-0.1.13 → zen_cli-0.1.14}/src/zen_cli/ctxp/built_in_cmds/_ut.py +0 -0
- {zen_cli-0.1.13 → zen_cli-0.1.14}/src/zen_cli/ctxp/built_in_cmds/context.py +0 -0
- {zen_cli-0.1.13 → zen_cli-0.1.14}/src/zen_cli/ctxp/built_in_cmds/profile.py +0 -0
- {zen_cli-0.1.13 → zen_cli-0.1.14}/src/zen_cli/ctxp/cli_options.py +0 -0
- {zen_cli-0.1.13 → zen_cli-0.1.14}/src/zen_cli/ctxp/config.py +0 -0
- {zen_cli-0.1.13 → zen_cli-0.1.14}/src/zen_cli/ctxp/context.py +0 -0
- {zen_cli-0.1.13 → zen_cli-0.1.14}/src/zen_cli/ctxp/data_util.py +0 -0
- {zen_cli-0.1.13 → zen_cli-0.1.14}/src/zen_cli/ctxp/fstore.py +0 -0
- {zen_cli-0.1.13 → zen_cli-0.1.14}/src/zen_cli/ctxp/httpx_alias.py +0 -0
- {zen_cli-0.1.13 → zen_cli-0.1.14}/src/zen_cli/ctxp/jsondot.py +0 -0
- {zen_cli-0.1.13 → zen_cli-0.1.14}/src/zen_cli/ctxp/logger.py +0 -0
- {zen_cli-0.1.13 → zen_cli-0.1.14}/src/zen_cli/ctxp/profile.py +0 -0
- {zen_cli-0.1.13 → zen_cli-0.1.14}/src/zen_cli/ctxp/profile_store.py +0 -0
- {zen_cli-0.1.13 → zen_cli-0.1.14}/src/zen_cli/ctxp/recent.py +0 -0
- {zen_cli-0.1.13 → zen_cli-0.1.14}/src/zen_cli/ctxp/state.py +0 -0
- {zen_cli-0.1.13 → zen_cli-0.1.14}/src/zen_cli/ctxp/telemetry.py +0 -0
- {zen_cli-0.1.13 → zen_cli-0.1.14}/src/zen_cli/ctxp/util.py +0 -0
- {zen_cli-0.1.13 → zen_cli-0.1.14}/src/zen_cli/mcp/__init__.py +0 -0
- {zen_cli-0.1.13 → zen_cli-0.1.14}/src/zen_cli/mcp/_util.py +0 -0
- {zen_cli-0.1.13 → zen_cli-0.1.14}/src/zen_cli/mcp/resources/__init__.py +0 -0
- {zen_cli-0.1.13 → zen_cli-0.1.14}/src/zen_cli/mcp/resources/activity.py +0 -0
- {zen_cli-0.1.13 → zen_cli-0.1.14}/src/zen_cli/mcp/resources/api.py +0 -0
- {zen_cli-0.1.13 → zen_cli-0.1.14}/src/zen_cli/mcp/resources/credential.py +0 -0
- {zen_cli-0.1.13 → zen_cli-0.1.14}/src/zen_cli/mcp/resources/deployment.py +0 -0
- {zen_cli-0.1.13 → zen_cli-0.1.14}/src/zen_cli/mcp/resources/entitlement.py +0 -0
- {zen_cli-0.1.13 → zen_cli-0.1.14}/src/zen_cli/mcp/resources/group.py +0 -0
- {zen_cli-0.1.13 → zen_cli-0.1.14}/src/zen_cli/mcp/resources/network.py +0 -0
- {zen_cli-0.1.13 → zen_cli-0.1.14}/src/zen_cli/mcp/resources/notification.py +0 -0
- {zen_cli-0.1.13 → zen_cli-0.1.14}/src/zen_cli/mcp/resources/org.py +0 -0
- {zen_cli-0.1.13 → zen_cli-0.1.14}/src/zen_cli/mcp/resources/pool.py +0 -0
- {zen_cli-0.1.13 → zen_cli-0.1.14}/src/zen_cli/mcp/resources/provider.py +0 -0
- {zen_cli-0.1.13 → zen_cli-0.1.14}/src/zen_cli/mcp/resources/sag.py +0 -0
- {zen_cli-0.1.13 → zen_cli-0.1.14}/src/zen_cli/mcp/resources/task.py +0 -0
- {zen_cli-0.1.13 → zen_cli-0.1.14}/src/zen_cli/mcp/resources/vm.py +0 -0
- {zen_cli-0.1.13 → zen_cli-0.1.14}/src/zen_cli/mcp/server.py +0 -0
- {zen_cli-0.1.13 → zen_cli-0.1.14}/src/zen_cli/service/__init__.py +0 -0
- {zen_cli-0.1.13 → zen_cli-0.1.14}/src/zen_cli/service/activity.py +0 -0
- {zen_cli-0.1.13 → zen_cli-0.1.14}/src/zen_cli/service/api.py +0 -0
- {zen_cli-0.1.13 → zen_cli-0.1.14}/src/zen_cli/service/broker/__init__.py +0 -0
- {zen_cli-0.1.13 → zen_cli-0.1.14}/src/zen_cli/service/broker/entitlement.py +0 -0
- {zen_cli-0.1.13 → zen_cli-0.1.14}/src/zen_cli/service/broker/pool_group.py +0 -0
- {zen_cli-0.1.13 → zen_cli-0.1.14}/src/zen_cli/service/cockpit/__init__.py +0 -0
- {zen_cli-0.1.13 → zen_cli-0.1.14}/src/zen_cli/service/cockpit/network.py +0 -0
- {zen_cli-0.1.13 → zen_cli-0.1.14}/src/zen_cli/service/cockpit/pool.py +0 -0
- {zen_cli-0.1.13 → zen_cli-0.1.14}/src/zen_cli/service/cockpit/provider.py +0 -0
- {zen_cli-0.1.13 → zen_cli-0.1.14}/src/zen_cli/service/cockpit/sag.py +0 -0
- {zen_cli-0.1.13 → zen_cli-0.1.14}/src/zen_cli/service/cockpit/vm.py +0 -0
- {zen_cli-0.1.13 → zen_cli-0.1.14}/src/zen_cli/service/credential.py +0 -0
- {zen_cli-0.1.13 → zen_cli-0.1.14}/src/zen_cli/service/deployment.py +0 -0
- {zen_cli-0.1.13 → zen_cli-0.1.14}/src/zen_cli/service/notification.py +0 -0
- {zen_cli-0.1.13 → zen_cli-0.1.14}/src/zen_cli/service/org.py +0 -0
- {zen_cli-0.1.13 → zen_cli-0.1.14}/src/zen_cli/service/task.py +0 -0
- {zen_cli-0.1.13 → zen_cli-0.1.14}/src/zen_cli/sglib/__init__.py +0 -0
- {zen_cli-0.1.13 → zen_cli-0.1.14}/src/zen_cli/sglib/auth.py +0 -0
- {zen_cli-0.1.13 → zen_cli-0.1.14}/src/zen_cli/sglib/cli_options.py +0 -0
- {zen_cli-0.1.13 → zen_cli-0.1.14}/src/zen_cli/sglib/client_util.py +0 -0
- {zen_cli-0.1.13 → zen_cli-0.1.14}/src/zen_cli/sglib/csp.py +0 -0
- {zen_cli-0.1.13 → zen_cli-0.1.14}/src/zen_cli/sglib/ez_client.py +0 -0
- {zen_cli-0.1.13 → zen_cli-0.1.14}/src/zen_cli/sglib/login_support.py +0 -0
- {zen_cli-0.1.13 → zen_cli-0.1.14}/src/zen_cli/sglib/mdc.py +0 -0
- {zen_cli-0.1.13 → zen_cli-0.1.14}/src/zen_cli/sglib/requtil.py +0 -0
- {zen_cli-0.1.13 → zen_cli-0.1.14}/src/zen_cli/sglib/zds_client.py +0 -0
- {zen_cli-0.1.13 → zen_cli-0.1.14}/src/zen_cli/support/activity.py +0 -0
- {zen_cli-0.1.13 → zen_cli-0.1.14}/src/zen_cli/support/auth.py +0 -0
- {zen_cli-0.1.13 → zen_cli-0.1.14}/src/zen_cli/support/deployment.py +0 -0
- {zen_cli-0.1.13 → zen_cli-0.1.14}/src/zen_cli/support/network.py +0 -0
- {zen_cli-0.1.13 → zen_cli-0.1.14}/src/zen_cli/support/notification.py +0 -0
- {zen_cli-0.1.13 → zen_cli-0.1.14}/src/zen_cli/support/org.py +0 -0
- {zen_cli-0.1.13 → zen_cli-0.1.14}/src/zen_cli/support/payload.py +0 -0
- {zen_cli-0.1.13 → zen_cli-0.1.14}/src/zen_cli/support/pool.py +0 -0
- {zen_cli-0.1.13 → zen_cli-0.1.14}/src/zen_cli/support/profile.py +0 -0
- {zen_cli-0.1.13 → zen_cli-0.1.14}/src/zen_cli/support/recent.py +0 -0
- {zen_cli-0.1.13 → zen_cli-0.1.14}/src/zen_cli/support/task.py +0 -0
- {zen_cli-0.1.13 → zen_cli-0.1.14}/src/zen_cli/support/use_util.py +0 -0
- {zen_cli-0.1.13 → zen_cli-0.1.14}/src/zen_cli/support/vm.py +0 -0
- {zen_cli-0.1.13 → zen_cli-0.1.14}/src/zen_cli/util/exec_util.py +0 -0
- {zen_cli-0.1.13 → zen_cli-0.1.14}/src/zen_cli/util/exit.py +0 -0
- {zen_cli-0.1.13 → zen_cli-0.1.14}/src/zen_cli/util/query_util.py +0 -0
- {zen_cli-0.1.13 → zen_cli-0.1.14}/src/zen_cli/util/readonly.py +0 -0
- {zen_cli-0.1.13 → zen_cli-0.1.14}/src/zen_cli/util/versions.py +0 -0
- {zen_cli-0.1.13 → zen_cli-0.1.14}/tests/__init__.py +0 -0
- {zen_cli-0.1.13 → zen_cli-0.1.14}/tests/blackbox/__init__.py +0 -0
- {zen_cli-0.1.13 → zen_cli-0.1.14}/tests/blackbox/cli_test.py +0 -0
- {zen_cli-0.1.13 → zen_cli-0.1.14}/tests/blackbox/test_api.py +0 -0
- {zen_cli-0.1.13 → zen_cli-0.1.14}/tests/blackbox/test_auth.py +0 -0
- {zen_cli-0.1.13 → zen_cli-0.1.14}/tests/blackbox/test_completion.py +0 -0
- {zen_cli-0.1.13 → zen_cli-0.1.14}/tests/blackbox/test_context.py +0 -0
- {zen_cli-0.1.13 → zen_cli-0.1.14}/tests/blackbox/test_errors.py +0 -0
- {zen_cli-0.1.13 → zen_cli-0.1.14}/tests/blackbox/test_help.py +0 -0
- {zen_cli-0.1.13 → zen_cli-0.1.14}/tests/blackbox/test_io.py +0 -0
- {zen_cli-0.1.13 → zen_cli-0.1.14}/tests/blackbox/test_login.py +0 -0
- {zen_cli-0.1.13 → zen_cli-0.1.14}/tests/blackbox/test_logout.py +0 -0
- {zen_cli-0.1.13 → zen_cli-0.1.14}/tests/blackbox/test_org.py +0 -0
- {zen_cli-0.1.13 → zen_cli-0.1.14}/tests/blackbox/test_pool.py +0 -0
- {zen_cli-0.1.13 → zen_cli-0.1.14}/tests/blackbox/test_profile.py +0 -0
- {zen_cli-0.1.13 → zen_cli-0.1.14}/tests/blackbox/test_root.py +0 -0
- {zen_cli-0.1.13 → zen_cli-0.1.14}/tests/blackbox/util.py +0 -0
- {zen_cli-0.1.13 → zen_cli-0.1.14}/tests/test_auth_status.py +0 -0
- {zen_cli-0.1.13 → zen_cli-0.1.14}/tests/test_device_login.py +0 -0
- {zen_cli-0.1.13 → zen_cli-0.1.14}/tests/test_import_lazy.py +0 -0
- {zen_cli-0.1.13 → zen_cli-0.1.14}/tests/test_mcp.py +0 -0
- {zen_cli-0.1.13 → zen_cli-0.1.14}/tests/test_payload.py +0 -0
- {zen_cli-0.1.13 → zen_cli-0.1.14}/tests/test_profile_lazy.py +0 -0
- {zen_cli-0.1.13 → zen_cli-0.1.14}/tests/test_query_util.py +0 -0
- {zen_cli-0.1.13 → zen_cli-0.1.14}/tests/test_recent.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.5
|
|
2
2
|
Name: zen-cli
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.14
|
|
4
4
|
Summary: CLI for Zen Cloud Service. Designed for AI and Human.
|
|
5
5
|
Project-URL: Homepage, https://pypi.org/project/zen-cli/
|
|
6
6
|
Author: zen-cli authors
|
|
@@ -37,23 +37,25 @@ Description-Content-Type: text/markdown
|
|
|
37
37
|
|
|
38
38
|
面向 AI 和人的 Zen Cloud 命令行工具。
|
|
39
39
|
|
|
40
|
+

|
|
41
|
+
|
|
40
42
|
## 使用
|
|
41
43
|
|
|
42
44
|
### 前置条件
|
|
43
45
|
|
|
44
|
-
* Python 3.
|
|
46
|
+
* Python 3.14+
|
|
45
47
|
* [uv](https://docs.astral.sh/uv/) 或 [pipx](https://pipx.pypa.io/)
|
|
46
48
|
|
|
47
49
|
### 安装
|
|
48
50
|
|
|
49
51
|
```bash
|
|
50
|
-
uv tool install --upgrade
|
|
52
|
+
uv tool install zen-cli --upgrade --python 3.14
|
|
51
53
|
```
|
|
52
54
|
|
|
53
55
|
或:
|
|
54
56
|
|
|
55
57
|
```bash
|
|
56
|
-
pipx install --upgrade zen-cli
|
|
58
|
+
pipx install --upgrade zen-cli --python 3.14 --fetch-python missing
|
|
57
59
|
```
|
|
58
60
|
|
|
59
61
|
装完后若找不到 `zen`,跑 `uv tool update-shell` 或 `pipx ensurepath`,然后开一个新终端。Windows 同样适用。
|
|
@@ -75,6 +77,8 @@ zen pool list -otable
|
|
|
75
77
|
zen upgrade
|
|
76
78
|
```
|
|
77
79
|
|
|
80
|
+
|
|
81
|
+
|
|
78
82
|
## 文档
|
|
79
83
|
|
|
80
84
|
* [用户指南](docs/user-guide.md) — profile、旗标、请求体和命令约定
|
|
@@ -4,23 +4,25 @@
|
|
|
4
4
|
|
|
5
5
|
面向 AI 和人的 Zen Cloud 命令行工具。
|
|
6
6
|
|
|
7
|
+

|
|
8
|
+
|
|
7
9
|
## 使用
|
|
8
10
|
|
|
9
11
|
### 前置条件
|
|
10
12
|
|
|
11
|
-
* Python 3.
|
|
13
|
+
* Python 3.14+
|
|
12
14
|
* [uv](https://docs.astral.sh/uv/) 或 [pipx](https://pipx.pypa.io/)
|
|
13
15
|
|
|
14
16
|
### 安装
|
|
15
17
|
|
|
16
18
|
```bash
|
|
17
|
-
uv tool install --upgrade
|
|
19
|
+
uv tool install zen-cli --upgrade --python 3.14
|
|
18
20
|
```
|
|
19
21
|
|
|
20
22
|
或:
|
|
21
23
|
|
|
22
24
|
```bash
|
|
23
|
-
pipx install --upgrade zen-cli
|
|
25
|
+
pipx install --upgrade zen-cli --python 3.14 --fetch-python missing
|
|
24
26
|
```
|
|
25
27
|
|
|
26
28
|
装完后若找不到 `zen`,跑 `uv tool update-shell` 或 `pipx ensurepath`,然后开一个新终端。Windows 同样适用。
|
|
@@ -42,6 +44,8 @@ zen pool list -otable
|
|
|
42
44
|
zen upgrade
|
|
43
45
|
```
|
|
44
46
|
|
|
47
|
+
|
|
48
|
+
|
|
45
49
|
## 文档
|
|
46
50
|
|
|
47
51
|
* [用户指南](docs/user-guide.md) — profile、旗标、请求体和命令约定
|
|
@@ -5,15 +5,34 @@ from pathlib import Path
|
|
|
5
5
|
from typing import Any
|
|
6
6
|
|
|
7
7
|
import rich_click as click
|
|
8
|
+
from rich.box import Box
|
|
8
9
|
|
|
9
10
|
_PACKAGE_DIR = Path(__file__).resolve().parent
|
|
10
11
|
_COMMANDS_DIR = _PACKAGE_DIR / "cmds"
|
|
11
12
|
_CONFIG_DIR = _PACKAGE_DIR / "config"
|
|
12
13
|
_commands_loaded = False
|
|
13
14
|
|
|
15
|
+
# ascii=True so Windows non-UTF consoles do not swap this for rich.box.ASCII.
|
|
16
|
+
_NO_BORDER_BOX = Box(
|
|
17
|
+
" \n \n \n \n \n \n \n \n",
|
|
18
|
+
ascii=True,
|
|
19
|
+
)
|
|
20
|
+
|
|
21
|
+
_RICH_HELP_CONFIG: dict[str, Any] = {
|
|
22
|
+
"style_options_panel_box": _NO_BORDER_BOX,
|
|
23
|
+
"style_commands_panel_box": _NO_BORDER_BOX,
|
|
24
|
+
"style_errors_panel_box": _NO_BORDER_BOX,
|
|
25
|
+
"style_options_panel_border": "none",
|
|
26
|
+
"style_commands_panel_border": "none",
|
|
27
|
+
"style_errors_panel_border": "none",
|
|
28
|
+
"style_options_table_box": None,
|
|
29
|
+
"style_commands_table_box": None,
|
|
30
|
+
}
|
|
31
|
+
|
|
14
32
|
CONTEXT_SETTINGS: dict[str, Any] = {
|
|
15
33
|
"help_option_names": ["-h", "--help"],
|
|
16
34
|
"max_content_width": 160,
|
|
35
|
+
"rich_help_config": _RICH_HELP_CONFIG,
|
|
17
36
|
}
|
|
18
37
|
|
|
19
38
|
|
|
@@ -38,7 +57,11 @@ def _apply_no_color(ctx: click.Context, _param: click.Parameter, value: bool) ->
|
|
|
38
57
|
if value:
|
|
39
58
|
os.environ["ZEN_CLI_COLOR"] = "false"
|
|
40
59
|
CONTEXT_SETTINGS["color"] = False
|
|
41
|
-
CONTEXT_SETTINGS["rich_help_config"] = {
|
|
60
|
+
CONTEXT_SETTINGS["rich_help_config"] = {
|
|
61
|
+
**_RICH_HELP_CONFIG,
|
|
62
|
+
"color_system": None,
|
|
63
|
+
"force_terminal": False,
|
|
64
|
+
}
|
|
42
65
|
ctx.color = False
|
|
43
66
|
return value
|
|
44
67
|
|
|
@@ -198,7 +221,11 @@ def main() -> None:
|
|
|
198
221
|
_setup_logging()
|
|
199
222
|
if not logger.color_enabled():
|
|
200
223
|
CONTEXT_SETTINGS["color"] = False
|
|
201
|
-
CONTEXT_SETTINGS["rich_help_config"] = {
|
|
224
|
+
CONTEXT_SETTINGS["rich_help_config"] = {
|
|
225
|
+
**_RICH_HELP_CONFIG,
|
|
226
|
+
"color_system": None,
|
|
227
|
+
"force_terminal": False,
|
|
228
|
+
}
|
|
202
229
|
if os.environ.get("_ZEN_COMPLETE"):
|
|
203
230
|
from zen_cli.ctxp import telemetry as telemetry_mod
|
|
204
231
|
|
|
@@ -320,10 +320,23 @@ def _attach_command_examples(cmd: click.Command) -> None:
|
|
|
320
320
|
examples = _command_examples(cmd, ctx.command_path)
|
|
321
321
|
if not examples:
|
|
322
322
|
return
|
|
323
|
-
|
|
323
|
+
from rich_click.rich_help_formatter import RichHelpFormatter
|
|
324
|
+
|
|
325
|
+
if isinstance(formatter, RichHelpFormatter):
|
|
326
|
+
from rich.box import Box
|
|
324
327
|
from rich.panel import Panel
|
|
325
328
|
|
|
326
|
-
|
|
329
|
+
# ascii=True: Windows non-UTF consoles otherwise swap BLANK for ASCII +---+ borders.
|
|
330
|
+
no_border = Box(" \n" * 8, ascii=True)
|
|
331
|
+
formatter.write(
|
|
332
|
+
Panel(
|
|
333
|
+
"\n".join(examples),
|
|
334
|
+
title="Examples",
|
|
335
|
+
padding=(0, 1),
|
|
336
|
+
border_style="none",
|
|
337
|
+
box=no_border,
|
|
338
|
+
)
|
|
339
|
+
)
|
|
327
340
|
return
|
|
328
341
|
indent = " " * (formatter.current_indent + 2)
|
|
329
342
|
with formatter.section("Examples"):
|
|
@@ -18,6 +18,8 @@ _CRUD_NOUNS = (
|
|
|
18
18
|
"pool",
|
|
19
19
|
)
|
|
20
20
|
_CREATE_NOUNS = (*_CRUD_NOUNS, "org")
|
|
21
|
+
_BOX_DRAWING = tuple(chr(c) for c in range(0x2500, 0x2580))
|
|
22
|
+
_ASCII_BORDER = ("+-", "| --")
|
|
21
23
|
_R21_BANNED = (
|
|
22
24
|
"I/O flags",
|
|
23
25
|
"I/O 旗标",
|
|
@@ -88,6 +90,17 @@ class TestCli(unittest.TestCase):
|
|
|
88
90
|
for phrase in absent:
|
|
89
91
|
self.assertNotIn(phrase, result.output)
|
|
90
92
|
|
|
93
|
+
def test_help_has_no_border(self) -> None:
|
|
94
|
+
for path in ((), ("org",), ("org", "list")):
|
|
95
|
+
label = " ".join(path) or "zen"
|
|
96
|
+
with self.subTest(cmd=label):
|
|
97
|
+
result = CliRunner().invoke(cli, ["--no-check-upgrade", *path, "--help"])
|
|
98
|
+
self.assertEqual(result.exit_code, 0, result.output or str(result.exception))
|
|
99
|
+
for ch in _BOX_DRAWING:
|
|
100
|
+
self.assertNotIn(ch, result.output)
|
|
101
|
+
for marker in _ASCII_BORDER:
|
|
102
|
+
self.assertNotIn(marker, result.output)
|
|
103
|
+
|
|
91
104
|
def test_help_follows_r21(self) -> None:
|
|
92
105
|
def walk(cmd: object, path: list[str]) -> None:
|
|
93
106
|
if getattr(cmd, "hidden", False):
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|