examples/command-groups/src/bashly.yml
name: ftp
help: Sample application with command grouping
version: 0.1.0
commands:
- name: download
help: Download a file
# By specifying a group, the `download` command will be printed under
# this `File` caption.
group: File
args:
- name: file
required: true
help: File to download
- name: upload
help: Upload a file
group: File
args:
- name: file
required: true
help: File to upload
- name: login
help: Write login credentials to the config file
# The `login` command will be printed under the `Login` caption.
group: Login
- name: logout
help: Delete login credentials to the config file
group: Login