examples/ini/src/bashly.yml
name: configly
help: Sample application that uses the config functions
version: 0.1.0
commands:
- name: list
alias: l
help: Show the entire config file
- name: get
alias: g
help: Read a value from the config file
args:
- name: key
required: true
help: Config key
examples:
- configly get hello
- configly get user.name
- name: set
alias: s
help: Save a value in the config file
args:
- name: key
required: true
help: Config key
- name: value
required: true
help: Config value
examples:
- configly set hello world
- configly set user.email me@example.com
- name: del
alias: d
help: Remove a value from the config file
args:
- name: key
required: true
help: Config key
examples:
- configly del hello
- configly del user.name