upptime / cli

⬆️🛠️ Upcoming CLI to power the new version of Upptime
MIT License
15 stars 8 forks source link

refactor(config/cmd) #49

Closed jayantkatia closed 2 years ago

jayantkatia commented 2 years ago

48

Refactor config command,

Nirmitjatana commented 2 years ago

@jayantkatia up until now looks good to me, Adding endpoint and notification is still left.

jayantkatia commented 2 years ago

https://www.npmjs.com/package/inquirer-autocomplete-prompt

jayantkatia commented 2 years ago

New PR to be made for:

jayantkatia commented 2 years ago

@AnandChowdhary @sakshi-choudhary @Nirmitjatana

# start anew
 git clone https://github.com/upptime/cli.git upp_config_code
 cd upp_config_code

# use existing
 git fetch origin pull/49/head && git checkout FETCH_HEAD
 yarn install
 cd ..
 mkdir upp_config_tests
 cd upp_config_tests/
 git init
 chmod +x ../upp_config_code/bin/run
 ../upp_config_code/bin/run init
 ../upp_config_code/bin/run config

Script to save time