Commit Graph

2 Commits

Author SHA1 Message Date
Raphael Randschau f53c0a7053
Add SSH command to CLI (#15310)
* implement ssh command

* add tests that ssh command is available

* most SSH command tests

* update changelog

* Update src/lightning_app/cli/lightning_cli.py

Co-authored-by: Adrian Wälchli <aedu.waelchli@gmail.com>

* adrian feedback pt1

* Update src/lightning_app/cli/lightning_cli.py

Co-authored-by: Adrian Wälchli <aedu.waelchli@gmail.com>

* more feedback

* rework to support app name

* update tests based on different interface

* Update src/lightning_app/cli/lightning_cli.py

Co-authored-by: Adrian Wälchli <aedu.waelchli@gmail.com>

* Update src/lightning_app/cli/lightning_cli.py

Co-authored-by: Adrian Wälchli <aedu.waelchli@gmail.com>

* Update src/lightning_app/cli/lightning_cli.py

Co-authored-by: Adrian Wälchli <aedu.waelchli@gmail.com>

* Update src/lightning_app/cli/lightning_cli.py

Co-authored-by: Adrian Wälchli <aedu.waelchli@gmail.com>

* update tests with changed expectation

* fix tests that broke with introduction of shutils

* fix too long line

Co-authored-by: Adrian Wälchli <aedu.waelchli@gmail.com>
2022-11-03 08:32:08 -07:00
Raphael Randschau 26d69ceada
[CLI] add support for listing apps (#13987)
* add support for listing apps

* update changelog with correct PR number

* add tests for pagination

* fix wrong mock on test_cli

* ensure all enum values are accounted for

* make AppManager and AppList protected, add limit to pagination calls

* add restarting transition /w tests

* add state transition not yet run with tests
2022-08-05 13:42:00 -07:00