Giter Club home page Giter Club logo

envman's People

Contributors

gotocode avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

envman's Issues

Configure pre-merge checks (linter, tests, etc.) on Github

There are currently no automatic hooks that run when some commits have been pushed to the envman repo.

In order to ensure that the code is correct, high-quality, and standards-compliant, we will need to add some kinds of hooks (e.g. Github Actions) to the repo.

Create a new command for listing the set of .env files created with envman

We need to create a new command for listing out the named .env files created by envman.

Currently, the simplest way to do this is by running the following:

$ ls ~/envs

However, it's possible to make this more convenient by having a built-in command (e.g. list or ls) that displays this list for us.

Create a new command for viewing the contents of a saved .env file

Currently, to view the contents of a previously saved .env file, we need to run the following commands:

$ envman load test.env
$ cat .env

By default, this will overwrite the .env file in the current directory, which is rather inconvenient.

We should add a new command (e.g. show or view) that allows the user to simply "print out" the contents of a saved .env file (without overwriting the file in the current directory).

Reorganize the code to use better CLI logic

As it stands, the main envman code for CLI interaction uses a bunch of if-elif-else statements to handle the various user commands.

It would be much cleaner (and more maintainable) if we used something like the click third-party library or argparse to handle command-line argument parsing and user interaction.

Allow user to configure location of envs directory

By default, envman uses a hard-coded directory to store the saved .env files (i.e. ~/envs).

We should allow the user to specify where envman should save these files (e.g. by using an environment variable like ENVMAN_ENVS_PATH).

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.