HomePhabricator
Diffusion Comm d1d9a6b3be86

[Identity] Use clap for argument parsing

Description

[Identity] Use clap for argument parsing

Summary:
Use clap to unify usage of command line arguments
and environment variables

https://linear.app/comm/issue/ENG-4674

Test Plan:

cd service/identity
cargo run -- server --help # now shows optional arguments
cargo run -- server # works as intended

Reviewers: varun, michal, jon

Reviewed By: michal

Subscribers: ashoat, tomek

Differential Revision: https://phab.comm.dev/D9058

Details

Provenance
bartekAuthored on Nov 29 2023, 1:28 AM
Reviewer
michal
Differential Revision
D9058: [Identity] Use clap for argument parsing
Parents
rCOMMb1b6461fb114: [identity] Make authenticated X3DH RPCs use userID
Branches
Unknown
Tags
Unknown