Argument types
A full list of argument types are below;
Type | Rendered as | Allowed values |
---|---|---|
(default) |
If a |
|
ascii |
a-z (case insensitive), 0-9, but no spaces or punctuation |
|
ascii_identifier |
Like a DNS name, a-Z (case insensitive), 0-9, |
|
ascii_sentence |
a-z (case insensitive), 0-9, with spaces, |
|
An email address. |
||
very_dangerous_raw_string |
Anything. This is incredibly dangerous, as effectively people can type anything they like, including executing additional commands beyond what you specify. Absolutely should not be used unless your OliveTin instance can only be used by people you trust entirely. |
|
regex:… |
Version 2024.03.081 and above support custom regex patterns. See Custom regex arguments. |
|
int |
Any number, made up of the characters 0 to 9. Negative numbers are not supported. |
|
url |
A url, e.g. https://github.com/OliveTin |
|
confirmation |
A "hidden" argument that makes the action require a confirmation before launching. See confirmation arguments. |
|
n/a, but |
A "hidden" argument that makes the action require a confirmation before launching. |