Add fn demo command - #8
Conversation
|
The binary shouldn't be put into the source repo maybe? |
8009d27 to
454b017
Compare
|
It's ready to review now? Please solve the conflict first, thanks @wenchajun |
|
|
||
| func init() { | ||
| w = os.Stdout | ||
| availableVersions = []string{"v0.3.1", "v0.4.0", "latest"} |
There was a problem hiding this comment.
Need to figure out a better way instead of hardcoding supported versions
4eb8724 to
4ac135e
Compare
|
@wenchajun would you make corresponding changes to the version list similar to #14 ? |
Yes,We had a discussion and I was going to make the demo components independent to get a lower coupling. I will modify this demo architecture and update it. |
f263a45 to
c6fa7ca
Compare
699cd36 to
3b3aa01
Compare
|
|
||
| cmd.Flags().BoolVar(&i.Verbose, "verbose", false, "Show verbose information.") | ||
| cmd.Flags().BoolVar(&i.RegionCN, "region-cn", false, "For users who have limited access to gcr.io or github.com.") | ||
| cmd.Flags().BoolVar(&i.AutoPrune, "auto-prune", true, "Used to specify the version of OpenFunction to be uninstalled.") |
There was a problem hiding this comment.
"Used to specify the version of OpenFunction to be uninstalled." is not correct for auto-prune
|
|
||
| cmd.Flags().BoolVar(&i.Verbose, "verbose", false, "Show verbose information.") | ||
| cmd.Flags().BoolVar(&i.RegionCN, "region-cn", false, "For users who have limited access to gcr.io or github.com.") | ||
| cmd.Flags().BoolVar(&i.AutoPrune, "auto-prune", true, "Automatic cleaning of the current environment.") |
There was a problem hiding this comment.
Automatically clean up the demo environment.
Signed-off-by: chengdehao <[email protected]>
Add fn demo command
Signed-off-by: chengdehao [email protected]