update readme
This commit is contained in:
parent
f3599cc4ac
commit
35ef584cd7
@ -23,6 +23,8 @@ traefik-helper
|
|||||||
|
|
||||||
## Windows Alias
|
## Windows Alias
|
||||||
|
|
||||||
|
Create the directory `~/Documents/WindowsPowerShell` and create a file called `Microsoft.PowerShell_profile.ps1` in that directory. Add the following code to the file.
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
function Traefik-Helper {
|
function Traefik-Helper {
|
||||||
$argsAsString = $args -join ' '
|
$argsAsString = $args -join ' '
|
||||||
@ -33,5 +35,7 @@ function Traefik-Helper {
|
|||||||
}
|
}
|
||||||
|
|
||||||
# Set the alias
|
# Set the alias
|
||||||
Set-Alias -Name "traefik-helper" -Value "Traefik-Helper"
|
Set-Alias -Name "traefik" -Value "Traefik-Helper"
|
||||||
```
|
```
|
||||||
|
|
||||||
|
This will allow you to run the `traefik` command in PowerShell.
|
||||||
|
Loading…
Reference in New Issue
Block a user