eluv-io / elv-live-js

Eluvio Live JavaScript SDK
MIT License
4 stars 3 forks source link

add elv-live installer #175

Closed elv-todd closed 3 months ago

elv-todd commented 3 months ago

will put a valid elv-live in /opt/homebrew/bin/ (or equiv) when running npm i -g

not sure if this is the appropriate thing to do or not, for getting elv-live in people's path (for use in scripts)

"worksforme"

elv-todd commented 3 months ago

Can we find a way to use the same elv-live script for both cases? Maybe check if we're in the git source or npm installed by finding the EluvioLiveCli.js in either places?

updated to share the same script -- hopefully this what you were looking for..

elv-todd commented 3 months ago

ah would have been happy to apply them if i had gotten the comments before merge..

yea if i had written it i'd have used "$@" -- missed updating that

exec i'm not as clear on -- doesn't that have potentially bad interactions with re-globbing? i guess that's eval not exec.

oh right, exec saves a child process fork