hossted / cli

The hossted cli - built to interact with a hossted agent and the hossted API
https:/hossted.com
MIT License
4 stars 4 forks source link

CLI. messages and verbose #165

Open liorkesos opened 3 weeks ago

liorkesos commented 3 weeks ago

Add the next logic for the CLI - make sure it works with verbose. mode.

step 0: use clicks 'Add new' and a popup with instructions is shown
step 1: _HSTD_ACTIVATION_STARTED: we swap the content of the Popup to the hossted loader

step 2: we spin the hossted loader + show a list of items we expect to 'tick'
_HSTD_INIT_OPERATOR  ->  _HSTD_DEPLOYED_OPERATOR
_HSTD_INIT_CVE  ->  _HSTD_DEPLOYED_OPERATOR
_HSTD_INIT_MONITORING  ->  _HSTD_DEPLOYED_MONITORING

step 3: _HSTD_OPERATOR_CLUSTER_REGISTERATION: when cluster registration event fires we redirect a user to the cluster page (we show loading state)

step 4: _HSTD_ACTIVATION_COMPLETE: we show confetti for 5 seconds on top of the cluster page, hide them and reload the page
linear[bot] commented 3 weeks ago

HOS-22 CLI. messages and verbose