Add argument parser for the conduit executable
Allow fetching the version with `conduit --version`. Fixes #285.
This commit is contained in:
parent
88fbd5b294
commit
9a81a49c6a
3 changed files with 16 additions and 0 deletions
|
@ -44,6 +44,8 @@ static GLOBAL: Jemalloc = Jemalloc;
|
|||
|
||||
#[tokio::main]
|
||||
async fn main() {
|
||||
clap::parse();
|
||||
|
||||
// Initialize config
|
||||
let raw_config =
|
||||
Figment::new()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue