Skip to content

Commit

Permalink
docs: update readme with example setting extra environment variable (#29
Browse files Browse the repository at this point in the history
)

* docs: update readme with example setting extra environment variable

* tests: skip env split test on windows
  • Loading branch information
shoenig authored Mar 30, 2023
1 parent 71e8231 commit a911021
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,15 @@ BAR=2
BAZ=3
```

#### execute command including extra variables

```bash
$ envy exec -insulate example EXTRA=value env
EXTRA=value
BAR=2
BAZ-3
```

#### list namespaces

```bash
Expand Down
2 changes: 2 additions & 0 deletions internal/commands/exec_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,8 @@ func TestExecCmd_Execute_badCommand(t *testing.T) {
}

func Test_splitArgs(t *testing.T) {
skipOS(t)

type args struct {
flagArgs []string
}
Expand Down

0 comments on commit a911021

Please sign in to comment.