mirror of
https://github.com/RGBCube/nu_scripts
synced 2025-08-01 06:37:46 +00:00
replace def-env
with def --env
(#641)
- upgrade to 0.86 Co-authored-by: agent <agent@nuc>
This commit is contained in:
parent
0a030b524b
commit
c39a41ad2d
3 changed files with 8 additions and 8 deletions
|
@ -409,7 +409,7 @@ export def 'kconf export' [name: string@"nu-complete kube ctx"] {
|
|||
} | to yaml
|
||||
}
|
||||
|
||||
export def-env kcconf [name: string@"nu-complete kube ctx"] {
|
||||
export def --env kcconf [name: string@"nu-complete kube ctx"] {
|
||||
let dist = $"($env.HOME)/.kube/config.d"
|
||||
mkdir $dist
|
||||
kconf export $name | save -fr $"($dist)/($name)"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue