-
Notifications
You must be signed in to change notification settings - Fork 158
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
iroh-cli: allow --switch
outside of iroh console
#2535
Comments
Admittedly this is not documented AFAIK, this is being changed in n0-computer/iroh.computer#166 |
@flub got it! In this case, I'll rewrite this issue into |
--switch
outside of iroh console
I don't think it is possible for a process set environment variables in the surrounding shell? If we wanted to support |
Oh, right, I was working with Nushell and completely forgot it wasn't possible to set environmental variables in standalone commands. I totally agree with not storing per-process data, it's too opaque. Will close the issue, as I don't see a good way to implement switching either. |
Currently,
--switch
flags don't work outside of the Iroh CLI console.I want to suggest setting env variables for
IROH_AUTHOR
andIROH_DOC
when a command with--switch
is ran in the terminal.Would the Iroh team be interested in a PR implementing this?
The text was updated successfully, but these errors were encountered: