summaryrefslogtreecommitdiff
path: root/src/main.rs
blob: 7a85a63fd2952b71abb758e298f92309123657f2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
extern crate clap;
extern crate colored;

use colored::*;
use clap::{Arg, App, SubCommand};

fn main() {
    let matches = App::new("Rustcast")
        .version("0.1")
        .author("Yuval Adam")
        .about("A simple UPnP/DLNA casting player")
        .arg(Arg::with_name("file")
            .short("f")
            .long("file")
            .value_name("FILE")
            .help("Media file to stream")
            .required(true))
        .get_matches();
    //println!("\n{}", "Rustcast v0.1.0".color("blue").bold());
    //println!("\n  usage: rustcast <media.file>\n");
}