Skip to content

Commit

Permalink
fix(docs): add docs for run command (#106)
Browse files Browse the repository at this point in the history
  • Loading branch information
mattem authored Jan 8, 2022
1 parent da3a1e1 commit e4a9dd4
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 0 deletions.
1 change: 1 addition & 0 deletions docs/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ _DOCS = [
"aspect_clean.md",
"aspect_docs.md",
"aspect_info.md",
"aspect_run.md",
"aspect_test.md",
"aspect_version.md",
]
Expand Down
34 changes: 34 additions & 0 deletions docs/aspect_run.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
## aspect run

Builds the specified target and runs it with the given arguments.

### Synopsis

'run' accepts any 'build' options, and will inherit any defaults
provided by .bazelrc.

If your script needs stdin or execution not constrained by the bazel lock,
use 'bazel run --script_path' to write a script and then execute it.


```
aspect run [flags]
```

### Options

```
-h, --help help for run
```

### Options inherited from parent commands

```
--config string config file (default is $HOME/.aspect.yaml)
--interactive Interactive mode (e.g. prompts for user input)
```

### SEE ALSO

* [aspect](aspect.md) - Aspect.build bazel wrapper

0 comments on commit e4a9dd4

Please sign in to comment.