cavalry-2.1.1
توضیحات
Secrets manager
| ویژگی | مقدار |
|---|---|
| سیستم عامل | Unix |
| نام فایل | cavalry-2.1.1 |
| نام | cavalry |
| نسخه کتابخانه | 2.1.1 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Sean Christians |
| ایمیل نویسنده | seanchristians.scc@gmail.com |
| آدرس صفحه اصلی | https://github.com/seanchristians/cavalry |
| آدرس اینترنتی | https://pypi.org/project/cavalry/ |
| مجوز | - |
[](CODE_OF_CONDUCT.md)
[](https://github.com/seanchristians/CAVALRY/blob/master/LICENSE)
[](https://github.com/psf/black)
[](https://pypi.org/project/cavalry)
[](https://pypi.org/project/cavalry)
[](https://pypi.org/project/cavalry)
[](https://github.com/seanchristians/cavalry/commits)
[](https://github.com/seanchristians/cavalry)
[](https://github.com/seanchristians/cavalry)
# CAVALRY
Quickly load secrets as environment variables
# Getting Started
```sh
pip3 install cavalry
```
# Usage
Run `cav -h` to see options. Note: the script is not POSIX compatible and requires `/bin/bash`.
## Loading variables
The `load` command will run an eval on the variables exported from the function. To get these into your current scope, the file must be run with `source ...`. Shorthand in most terminals is to simply prepend a dot: `. cav load ...`. **TL;DR**: to load variables, run `. cav load ...`
```sh
usage: cav [-h] [-s FILE] {store,delete,load,list,clear} ...
Utility to load environment variables. To persist the variables into your
scope, run 'source cav {load,clear} [options]' or '. cav {load,clear} [options]'
positional arguments:
{store,delete,load,list,clear}
store store variables
delete delete variables
load load variables
list list stored data
clear clear variables from environment
optional arguments:
-h, --help show this help message and exit
-s FILE, --secrets FILE
specify an alternate secrets file
```
---
© 2020 Sean Christians
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.8 | Python |
نحوه نصب
نصب پکیج whl cavalry-2.1.1:
pip install cavalry-2.1.1.whl
نصب پکیج tar.gz cavalry-2.1.1:
pip install cavalry-2.1.1.tar.gz