Git Product home page Git Product logo

senvy's Introduction

Senvy

server and a cli tool for managing environment variables for your projects on a local server

General info

Project is a simple solution to provide a local way to share env vars between machines and potentially having multiple versions of them for a single project. There is no control over who can make create/update/delete entries on the server.
Term 'entry' used throughout the project refers to an entry on the server with a unique name which represents a single set of vars.

Server

Installing directly (cargo install --path ./sever/) or by using Dockerfile
Server defaults to port 8080 unless PORT var is set.

CLI

Installing (installed under name 'senvy'): cargo install --path ./cli/

CLI relies on a '.senvy' file in the project for the information
Commands

  • init <project name> <path the file with env vars> <server url>
    initialize senvy in the current working directory and creates an entry on the server with the provided information

  • new <project name> <path the file with env vars> <server url>
    same as init only it does not create a local config

  • delete <project name>(opt) <server url>(opt)
    deletes entry on the sever and optionally local config if it exists
    arguments not provided are pulled from the local config

  • pull <project name>(opt) <server url>(opt)
    pulls vars from the server and creates/updates the local config
    arguments not provided are pulled from the local config

  • push <project name>(opt) <path the file with env vars>(opt) <server url>(opt)
    updates entry on the server if entry with the given name exists
    arguments not provided are pulled from the local config

  • check
    check if there are more recent vars available for the current project and optionally update local config

senvy's People

Contributors

drag0dev avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.