platform-path 0.1.0

CLI for identifying the platform path
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
use platform_path::Command;
use structopt::StructOpt;

#[cfg(feature = "async")]
#[async_std::main]
async fn main() -> anyhow::Result<()> {
  Command::from_args().execute().await?;

  Ok(())
}

#[cfg(not(feature = "async"))]
fn main() -> anyhow::Result<()> {
  Command::from_args().execute()?;

  Ok(())
}