guild 0.1.1

Guild is a Command Line Interface build with Rust that posts code snippets to a Discord channel using Webhooks.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
#[macro_use]
extern crate clap;
use clap::App;
use tokio;

#[tokio::main]
async fn main() -> Result<(), Box<dyn std::error::Error>> {
    let yaml = load_yaml!("cli.yml");
    let matches = App::from_yaml(yaml).get_matches();

    guild::run(&matches).await
}