<#856 add start/stop app CLI> Pull request opened ...
# flyte-github
a
#856 add start/stop app CLI Pull request opened by cosmicBboy This pull request introduces new CLI commands to start and stop deployed Flyte apps, updates the CLI main entry point to register these commands, and adds comprehensive tests to ensure their correct behavior. The changes improve the CLI's usability for managing app lifecycle and enhance test coverage. New CLI commands for app lifecycle management: • Added a
flyte start app
command to activate (start) a deployed Flyte app, with support for specifying project and domain. (
src/flyte/cli/_start.py
src/flyte/cli/_start.pyR48-R62) • Added a
flyte stop app
command to deactivate (stop) a deployed Flyte app, also supporting project and domain selection. (
src/flyte/cli/_stop.py
src/flyte/cli/_stop.pyR1-R23) CLI integration and documentation: • Registered the new
start
and
stop
command groups in the main CLI entry point and updated the help menu to describe their purpose. (
src/flyte/cli/main.py
[1] [2] [3] Testing improvements: • Added tests for the new
start app
and
stop app
CLI commands, verifying correct invocation and argument passing, including project and domain parameters. (
tests/cli/test_start_stop_app.py
tests/cli/test_start_stop_app.pyR1-R75) flyteorg/flyte-sdk