You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+12Lines changed: 12 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -46,6 +46,18 @@ The `argumentName` part of the definition is the name given to the argument and
46
46
By default if an argument is passed that hasn't been defined an error will be thrown and the script will exit.
47
47
This feature can be turned off by setting `ARG_MUST_BE_DEFINED` to `false`, note that the argument names will default to the argument its self, without the preceding hyphen(s).
48
48
49
+
### Defining Argument Default Values
50
+
51
+
You can define a default value that will be used if the argument isn't passed:
0 commit comments