devloop 0.2.2

A tool to help with repetitive commands during development.
1
2
3
4
5
6
7
8
9
10
11
12
13
use std::path::PathBuf;
use structopt::StructOpt;

#[derive(Debug, StructOpt)]
#[structopt(name = "Devloop")]
pub(crate) struct Opt {
    #[structopt(default_value = "Devloop.toml")]
    pub(crate) config: PathBuf,
}

pub(crate) fn get_opts() -> Opt {
    Opt::from_args()
}