enva-projects / enva-cli

💻 Shared and collaborative scripts on your command
MIT License
3 stars 0 forks source link

There should be a variable in commands which refers to nearest .envarc file location #8

Open Alireza29675 opened 5 years ago

Alireza29675 commented 5 years ago

Imagine here's our structure

And we want to cd first to components/ then run a command, here should be a variable standing for App/ directory location. for example

cd $ENVA; cd components/; node my-script.js
pmzi commented 5 years ago

I don't think that is needed. In the current implementation, you can just:

cd components/; node my-script.js
Alireza29675 commented 5 years ago

In this case you've mentioned, it is not.

however, let's imagine there's a command which creates a new shared function in shared/ directory no matter where you've called the command.

I believe that's necessary and practical. Give me more about what you think?