DannyBen/bashly

View on GitHub
examples/extensible-delegate/src/bashly.yml

Summary

Maintainability
Test Coverage
name: mygit
help: Sample application that delegates unknown commands to a different executable
version: 0.1.0

# Setting `extensible` to any string will delegate any unknown commands
# to this executable. 
# In this example, calling `mygit status` or `mygit log` will invoke the 
# respective `git status` and `git log` commands.
extensible: git

commands:
- name: push
  alias: p
  help: Push to my repository

- name: pull
  alias: l
  help: Pull from my repository