aboutsummaryrefslogtreecommitdiffstats
path: root/src/cmd/watch.rs
blob: bc045113f5d19647fddad5c7c879fbc92cf36934 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
use snafu::ResultExt as _;

#[derive(Debug, snafu::Snafu)]
pub enum Error {}

pub type Result<T> = std::result::Result<T, Error>;

pub fn cmd<'a, 'b>(app: clap::App<'a, 'b>) -> clap::App<'a, 'b> {
    app.about("Watch termcast streams")
}

pub fn run<'a>(_matches: &clap::ArgMatches<'a>) -> super::Result<()> {
    run_impl().context(super::Watch)
}

fn run_impl() -> Result<()> {
    unimplemented!()
}