Giter VIP home page Giter VIP logo

Comments (9)

danenania avatar danenania commented on June 10, 2024 1

I see - I'll work on getting a multiline solution in soon!

from envkey-app.

danenania avatar danenania commented on June 10, 2024

Hi @methyl! There is not currently baked-in multiline support, but it's on the short-term roadmap. In the meantime, can you perhaps get around it with embedded \n characters?

from envkey-app.

methyl avatar methyl commented on June 10, 2024

I tried \n, but it seems to somehow encode them as they appear literally in the exported env variable. Maybe I'm doing something wrong?

from envkey-app.

methyl avatar methyl commented on June 10, 2024

Awesome, let me know!

from envkey-app.

danenania avatar danenania commented on June 10, 2024

@methyl Sorry for the delay on this - multiline values are now handled smoothly as of 1.3.5

from envkey-app.

methyl avatar methyl commented on June 10, 2024

It still doesn't work:
image

$ echo $TEST
FIRST LINE SECOND LINE
$

BTW, I think it's not a great idea to align-center the value.

from envkey-app.

danenania avatar danenania commented on June 10, 2024

This seems to be an issue on the envkey-source side - will get that straightened out.

And yeah, agreed on alignment.

from envkey-app.

danenania avatar danenania commented on June 10, 2024

@methyl Ok, this actually does work with envkey-source, but requires slightly different syntax to preserve newlines.

Instead of:

$ eval $(envkey-source) 
$ echo $TEST

You need:

$ eval "$(envkey-source)"
$ echo "$TEST"

I'll update the envkey-source docs to reflect this.

from envkey-app.

danenania avatar danenania commented on June 10, 2024

@methyl Multi-line values are no longer center-aligned in 1.3.6.

from envkey-app.

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.