How to Create a Positional Argument that is also Required? #2176
-
Hey! I'd like to require the first argument of my command ( name: Amincio
author: LiteLT (https://github.com/LiteLT)
args:
- query:
help: Search for something.
global: true
required: true
subcommands:
- anime:
- manga:
- character: Sadly, when I try to run this, the main thread panics as global arguments are not allowed to be required. To put this in perspective:
I'd like to follow DRY (don't repeat yourself) by not repeating |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Can you please create an issue out of this? |
Beta Was this translation helpful? Give feedback.
Can you please create an issue out of this?