Skip to content

Commit 587842a

Browse files
authored
Merge pull request bids-standard#147 from yarikoptic/bf-W
Add -W (--allow-write) to deno build instructions
2 parents 05116b4 + 0e0dd2a commit 587842a

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,12 +27,12 @@ The BIDS Validator can be run with the [Deno][] runtime
2727
(see [Deno - Installation][] for detailed installation instructions):
2828

2929
```shell
30-
deno run -ERN jsr:@bids/validator
30+
deno run -ERWN jsr:@bids/validator
3131
```
3232

3333
Deno by default sandboxes applications like a web browser.
34-
`-E`, `-R` and `-N` allow the validator to read environment variables,
35-
local files, and network locations.
34+
`-E`, `-R`, '-W', and `-N` allow the validator to read environment variables,
35+
read/write local files, and read network locations.
3636

3737
### Configuration file
3838

docs/user_guide/command-line.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,19 +10,19 @@ In general, there is no need to install Deno applications.
1010
`deno run` allows running from the Javascript Repository:
1111

1212
```sh
13-
deno run -ERN jsr:@bids/validator <dataset>
13+
deno run -ERWN jsr:@bids/validator <dataset>
1414
```
1515

1616
However, you can also install a lightweight script (into `$HOME/.deno/bin`):
1717

1818
```sh
19-
deno install -ERN -g -n bids-validator jsr:@bids/validator
19+
deno install -ERWN -g -n bids-validator jsr:@bids/validator
2020
```
2121

2222
Or compile a bundled binary:
2323

2424
```sh
25-
deno compile -ERN -o bids-validator jsr:@bids/validator
25+
deno compile -ERWN -o bids-validator jsr:@bids/validator
2626
```
2727

2828
## Usage
@@ -36,7 +36,7 @@ The BIDS Validator takes a single dataset as input:
3636
:sync: run
3737

3838
```sh
39-
deno run -ERN jsr:@bids/validator <dataset>
39+
deno run -ERWN jsr:@bids/validator <dataset>
4040
```
4141

4242
:::

0 commit comments

Comments
 (0)