-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Labels
enhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomers
Milestone
Description
If a positional parameter is optional the default value will be used if an underscore is passed.
so for a command defined as such
name: Print
description: Echos back what you type.
arguments:
- name: text
argtype: quoted text
optional: true
defaultValue: Much default wow.
position: 1
- name: effect
argtype: enum
options: allcaps, camelcase, leetspeak, shouting
position: 2
the following command should be equivalent
/print "Much default wow." allcaps
/print _ allcaps
and properly implemented would return MUCH DEFAULT WOW.
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomers