name: guild
version: "1.0"
about: "A CLI tool that allows you to submit code snippets to a discord channel"
author: Jake Correnti <jcorrenti13@gmail.com>
subcommands:
- set:
about: Set the required information to access the Discord channel
args:
- url:
help: The Webhook URL for the Discord channel
index: 1
required: true
- post:
about: Post a code snippet to Discord
args:
- filename:
help: File where the code snippet comes from
index: 1
required: true
- start:
help: The starting line in the range of lines the snippet contains
index: 2
required: true
- end:
help: The ending line in the range of lines the snippet contains
index: 3
required: true
- hl:
help: Enables syntax highlighting for the Discord message
long: highlight
short: H
requires:
- filename
- start
- end