opensergo-control-plane icon indicating copy to clipboard operation
opensergo-control-plane copied to clipboard

scripts support args

Open jnan806 opened this issue 2 years ago • 0 comments

Describe what this PR does / why we need it

In current version, the deploy scripts in directory ./cmd did not support params:

  • can not defined version
  • can not uninstall
  • can not define download or not

Does this pull request fix one issue?

Fixes #48

Describe how to verify it

Usage:  init.sh [-Option] [version]
Resources will download in /Users/J/.opensergo.install/opensergo-control-plane

Available Options:
  -l, -local         : exec from local resources, which will not download resources
  -u, -uninstall     : uninstall opensergo control plane
  -h, -help          : helps
version:             : default version is main

jnan806 avatar Feb 16 '23 05:02 jnan806