cli/pkg/cmd
endorama 825328031f
Add watch functionality to pr checks command (#4519)
* pr-checks: extract webMode

* pr-checks: extract checks information collection

* pr-checks: extract output utilities

* pr-checks: implement watch flag

* pr-checks: remove SIGINT interceptor

* pr-checks: exit with error if some task has failed

* update flags help text

* update default interval to 10s

* move interval flag parse to RunE

* refactor checksRunWatchMode to use infinite loop

* Refactor printTable function

* Refactor collect function

* Set up checksRun to use new refactored functions and simplify logic a bit

* Add tests

* Always set interval in opts

* use Duration flag

* Revert back to using int flag for consistency with run watch

* Use run watch screen clearing mechanism

* Re-add pager support

Co-authored-by: Sam Coe <samcoe@users.noreply.github.com>
2022-02-08 08:33:42 +01:00
..
actions Mark actions command as non-runnable 2021-11-03 16:58:51 +01:00
alias Rename the module to "github.com/cli/cli/v2" 2021-08-25 12:41:30 +02:00
api Standardize pager output across commands (#5141) 2022-02-01 08:36:51 +01:00
auth Consistent punctuation in command usages (#5139) 2022-01-31 10:56:12 +00:00
browse Fix browse last commit when using the repo override flag (#4845) 2021-12-13 15:00:22 +01:00
codespace Repo name suggestions for cs create (#5108) 2022-01-31 10:20:49 +00:00
completion Add FlagErrorf; encapsulate FlagError.error 2021-10-21 11:40:20 -04:00
config undo overzealous find/replace 2022-01-14 15:27:05 -06:00
extension Consistent punctuation in command usages (#5139) 2022-01-31 10:56:12 +00:00
factory Handle SAML enforcement challenge from the server (#5054) 2022-01-19 14:22:22 +01:00
gist Correctly handle Windows paths when creating gists 2022-02-06 23:21:20 +00:00
gpg-key Consistent punctuation in command usages (#5139) 2022-01-31 10:56:12 +00:00
issue Standardize pager output across commands (#5141) 2022-02-01 08:36:51 +01:00
pr Add watch functionality to pr checks command (#4519) 2022-02-08 08:33:42 +01:00
release Standardize pager output across commands (#5141) 2022-02-01 08:36:51 +01:00
repo Enable repo override for repo deploy-key delete (#5152) 2022-02-01 11:40:34 +00:00
root Consistent punctuation in command usages (#5139) 2022-01-31 10:56:12 +00:00
run Standardize pager output across commands (#5141) 2022-02-01 08:36:51 +01:00
secret Standardize pager output across commands (#5141) 2022-02-01 08:36:51 +01:00
ssh-key Consistent punctuation in command usages (#5139) 2022-01-31 10:56:12 +00:00
version Rename the module to "github.com/cli/cli/v2" 2021-08-25 12:41:30 +02:00
workflow Standardize pager output across commands (#5141) 2022-02-01 08:36:51 +01:00