cliHelper.env

0.1.2

A module for loading and editing environment variables. It also includes cmdlets for extra safety measures.

Minimum PowerShell version

3.0

Installation Options

Copy and Paste the following command to install this package using PowerShellGet More Info

Install-Module -Name cliHelper.env

Copy and Paste the following command to install this package using Microsoft.PowerShell.PSResourceGet More Info

Install-PSResource -Name cliHelper.env

You can deploy this package directly to Azure Automation. Note that deploying packages with dependencies will deploy all the dependencies to Azure Automation. Learn More

Manually download the .nupkg file to your system's default download location. Note that the file won't be unpacked, and won't include any dependencies. Learn More

Owners

Copyright

Alain Herve (c) 2024. All rights reserved.

Package Details

Author(s)

  • alain

Tags

dotEnv PowerShell

Functions

Add-Env Get-Env Get-EnvFile Protect-Env Read-Env Remove-Env Unprotect-Env Update-SessionEnv Write-Env

Dependencies

Release Notes


# Changelog



- Updated build script



***

# Install guide:


1. [Click here](https://github.com/alainQtec/cliHelper.env/releases/download/v<versionToDeploy>/cliHelper.env.zip) to download the *cliHelper.env.zip* file attached to the release.
2. **If on Windows**: Right-click the downloaded zip, select Properties, then unblock the file.
   > _This is to prevent having to unblock each file individually after unzipping._
3. Unzip the archive.
4. (Optional) Place the module folder somewhere in your PSModulePath.
   > _You can view the paths listed by running the environment variable $Env:PSModulePath_
5. Import the module, using the full path to the PSD1 file in place of cliHelper.env if the unzipped module folder is not in your PSModulePath:
   `powershell
   # In Env:PSModulePath
   Import-Module cliHelper.env

   # Otherwise, provide the path to the manifest:
   Import-Module -Path Path\to\cliHelper.env\<versionToDeploy>\cliHelper.env.psd1
   `

FileList

Version History

Version Downloads Last updated
0.1.2 (current version) 57 12/17/2024
0.1.1 13 12/17/2024
0.1.0 289 10/7/2024