Skip to content

Add Nushell support #64

Description

@hustcer

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
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions