Skip to content
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

Add Nushell support #64

Open
hustcer opened this issue Jun 2, 2024 · 1 comment
Open

Add Nushell support #64

hustcer opened this issue Jun 2, 2024 · 1 comment

Comments

@hustcer
Copy link

hustcer commented Jun 2, 2024

Thanks for the great tool, could you add Nushell support?
Currently I'm using a custom command to do that:

# Load environment variables from envio profile.
def --env use-env [profile: string, --silent(-s)] {
  let envs = envio list -n $profile -v
    | lines
    | parse '{key}={value}'
    | reduce -f {} { |it, acc| $acc | insert $it.key ($it.value | str trim -c '"') }

  if not $silent { print $envs }
  load-env $envs
}
@humblepenguinn
Copy link
Collaborator

Hey @hustcer!

Nushell support is absolutely something we can add to envio.

This is my first time hearing about it and I haven't really used it before so I'm going to need to check it out myself before adding support for it in envio.

Thank you for using envio and if you have any more suggestions or ideas do let me know.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants