Giter VIP home page Giter VIP logo

Comments (5)

Nikoloutsos avatar Nikoloutsos commented on June 15, 2024 1

i've overcome this problem long time ago by using:

export FOO="BAR"

from envman.

Nikoloutsos avatar Nikoloutsos commented on June 15, 2024

Facing this problem as well.

from envman.

tzuhan-bitrise avatar tzuhan-bitrise commented on June 15, 2024

Hi, thank you for contacting Bitrise.
This is the expected behavior and here's the response from our engineer.

Envman is a file-based env store tool. When you add an env var it writes to a file. When you execute a command with envman (like Bitrise steps) envman reads this file and passes it to the standard go execution package. So technically it does not know anything about how to set these or what an env var is.

You can check the Usage example: Simple Bash example in the Readme.md file for further explanation.

from envman.

DamienBitrise avatar DamienBitrise commented on June 15, 2024

Is there a command that can be run to load the new Env Vars into the current shell maybe?

from envman.

godrei avatar godrei commented on June 15, 2024

Hi @DamienBitrise , adding the env to the current shell session and adding it to the envstore file when envman add is executed is a valid feature request, even if the current behavior is by design.

Is there a command that can be run to load the new Env Vars into the current shell maybe?

Unfortunetly there isn't a single command you could use.

envman print prints the content of the envstore file in the format:

KEY_1: VALUE_1
KEY_2: VALUE_2
...

, or in a json format --format json.

from envman.

Related Issues (20)

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.