Skip to content
Myr

Merge pull request #924 from ForJing/patch-1

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Update Readme.md

authored by Tomoaki Abe · committed by GitHub · parents 68545af, 77bb580 · Browse files · 1 file+1 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+1 added−1 removed

  • other:+1 added−1 removed

1 file+1 added−1 removed

modified:Readme.md+1 added-1 removed
65 unmodified lines
66```6768To get string arguments from options you will need to use angle brackets <> for required inputs or square brackets [] for optional inputs. 6970e.g. ```.option(' -m --myarg [myVar]', 'my super cool description')```70e.g. ```.option('-m --myarg [myVar]', 'my super cool description')```7172Then to access the input if it was passed in.7374e.g. ```var myInput = program.myarg```
354 unmodified lines