Skip to content

Commit

Permalink
Merge pull request #215 from NitorCreations/rust-env-args
Browse files Browse the repository at this point in the history
Rust: option to read vault stack or bucket from env variables
  • Loading branch information
Esgrove authored Sep 15, 2023
2 parents 60bffed + 1e5c763 commit 92d51c9
Show file tree
Hide file tree
Showing 7 changed files with 247 additions and 298 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ repos:
- id: trailing-whitespace

- repo: https://github.com/charliermarsh/ruff-pre-commit
rev: v0.0.288
rev: v0.0.289
hooks:
- id: ruff
name: python ruff
Expand Down
6 changes: 5 additions & 1 deletion python/n_vault/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,11 @@
def main():
parser = argparse.ArgumentParser(description="Store and lookup locally encrypted data stored in S3")
action = parser.add_mutually_exclusive_group(required=True)
action.add_argument("--version", action="store_true", help="Print vault version")
action.add_argument(
"--version",
action="store_true",
help="Print vault version",
)
action.add_argument(
"-s",
"--store",
Expand Down
Loading

0 comments on commit 92d51c9

Please sign in to comment.