-
Notifications
You must be signed in to change notification settings - Fork 323
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(wsctl): add project configuration cmd #4195
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #4195 +/- ##
==========================================
+ Coverage 75.38% 76.63% +1.25%
==========================================
Files 303 340 +37
Lines 25923 29260 +3337
==========================================
+ Hits 19541 22423 +2882
- Misses 5360 5732 +372
- Partials 1022 1105 +83 ☔ View full report in Codecov by Sentry. |
ioctl/cmd/ws/wsprojectconfig.go
Outdated
Short: config.TranslateInLang(wsCodeConvertShorts, config.UILanguage), | ||
// wsProjectConfig represents the generate w3bstream project configuration command | ||
wsProjectConfig = &cobra.Command{ | ||
Use: "configuration", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
use a short word config
@@ -42,8 +42,12 @@ var ( | |||
if err != nil { | |||
return errors.Wrap(err, "failed to get flag expand-param") | |||
} | |||
outputFile, err := cmd.Flags().GetString("output-file") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
will err be returned without output flag?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
keep same with other param's error
wasm vmType = "wasm" // wasm vm | ||
) | ||
|
||
func stringToVMType(vmType string) (vmType, error) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this should be/has been done at API side
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
add TODO
Quality Gate passedIssues Measures |
* feat(wsctl): add project configuration cmd * feat(wsctl): update comment and del mock_envelope.go * feat(wsctl): fix ci
Description
Please include a summary of the changes and the related issue. Please also include relevant motivation and context. List any dependencies that are required for this change.
Type of change
Please delete options that are not relevant.
How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration
Test Configuration:
Checklist: