feat(tee-key-preexec): add cmdline arg for env prefix

- Introduced `clap` for command-line argument parsing.
- Replaced manual argument handling with `clap`'s derived `Args` struct.
- Updated environmental variables to use dynamic prefixes.

Signed-off-by: Harald Hoyer <harald@matterlabs.dev>
This commit is contained in:
Harald Hoyer 2024-09-03 10:34:28 +02:00
parent 6b0b0b69ca
commit c94912d832
Signed by: harald
GPG key ID: F519A1143B3FBE32
3 changed files with 33 additions and 16 deletions

View file

@ -10,6 +10,7 @@ repository.workspace = true
[dependencies]
anyhow.workspace = true
clap.workspace = true
rand.workspace = true
secp256k1.workspace = true
teepot.workspace = true