Skip to content

A CLI to help managing secrets and config files

License

Notifications You must be signed in to change notification settings

robertokbr/denv

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🥸 Denv, the secret and config files' helper tool

I use Ubuntu for work and my Mac for personal projects. However, I often find myself needing to share numerous environment files, tokens, and config files between my machines, which can be quite tedious. In the past, I used Google Drive, but it was not an ideal solution. To address this problem, I created denv, a command-line interface (CLI) tool that simplifies the process of uploading and downloading these config files.

🤩 How to install denv - Mac and Linux

    make

🤩 How to install denv - Windows

    mkdir C:\bin
    go build -o denv.exe cmd\denv\main.go
    mv denv.exe C:\bin\denv.exe
    setx PATH "C:\bin;%PATH%"
    # ensure it is right placed
    where.exe denv.exe

😜 How to config

    # You will need to get in hands your AWS secret key, access key, and a S3 bucket name
    denv --conf

🤯 How to use

    # To upload a file
    denv --up [filename] --name [nickname]
    # To download a file
    denv --name [nickname]

    # or

    denv --name [nickname] --out [filename]

    # ex: denv --name mygitconfig --out .config
    # To list all files
    denv --list
    # To delete a file
    denv --del [nickname]

That is it! 👋🏻

About

A CLI to help managing secrets and config files

Resources

License

Stars

Watchers

Forks

Packages

No packages published