Skip to content

Commit

Permalink
braid: docstrings and comment
Browse files Browse the repository at this point in the history
  • Loading branch information
astraw committed Jan 4, 2021
1 parent 05a222f commit fd415ee
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions braid/src/bin/braid.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,20 @@ use structopt::StructOpt;
#[derive(Debug, StructOpt)]
#[structopt(name = "braid", about = "multi-camera realtime 3D tracker")]
struct BraidLauncherCliArgs {
/// Command to execute (e.g. run, show-config, default-config)
command: String,
/// Options specific to the command
options: Vec<String>,
}

fn main() -> Result<()> {
env_tracing_logger::init();
// braid::braid_start("braid")?;

// TODO: In case of no command given (or a query command), iterate all dirs
// on environment path, collect braid-* executables, show these as possible
// commands.

let args = BraidLauncherCliArgs::from_args();
debug!("{:?}", args);

Expand Down

0 comments on commit fd415ee

Please sign in to comment.