Typed arguments
See https://github.com/oclif/oclif/issues/301
Instead of doing args as const we can do name: "name" as const to ensure the name is kept; if that's omitted then you still get a map type for the args property. Non-string arg types can be inferred from the results of parser functions or default values.
Thanks for the contribution! Before we can merge this, we need @dhleong to sign the Salesforce.com Contributor License Agreement.
Codecov Report
Merging #66 into master will decrease coverage by
91.38%. The diff coverage is0.00%.
@@ Coverage Diff @@
## master #66 +/- ##
==========================================
- Coverage 91.38% 0.00% -91.39%
==========================================
Files 11 1 -10
Lines 325 29 -296
Branches 86 14 -72
==========================================
- Hits 297 0 -297
- Misses 12 29 +17
+ Partials 16 0 -16
| Impacted Files | Coverage Δ | |
|---|---|---|
| src/validate.ts | 0.00% <0.00%> (-96.88%) |
:arrow_down: |
| src/util.ts | ||
| src/screen.ts | ||
| src/deps.ts | ||
| src/help.ts | ||
| src/flags.ts | ||
| src/list.ts |
Continue to review full report at Codecov.
Legend - Click here to learn more
Δ = absolute <relative> (impact),ø = not affected,? = missing dataPowered by Codecov. Last update 00ae12f...8656a85. Read the comment docs.