Skip to content

Commit

Permalink
Merge pull request #10 from Workiva/readme-updates
Browse files Browse the repository at this point in the history
FEDX-965: Readme updates
  • Loading branch information
rm-astro-wf authored Jun 14, 2024
2 parents 156df4d + 8bc923f commit e9bd54a
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,9 @@ used.

## Package Sources

The first arg to `dpx` or the value of the `--package` option is referred to as
a `<package-spec>`, which supports several different formats to enable
installing from different sources and targeting specific versions.
The first arg to `dpx` is referred to as a `<package-spec>`, which supports
several different formats to enable installing from different sources and
targeting specific versions.

```bash
# Install from pub with an optional version constraint.
Expand Down
24 changes: 24 additions & 0 deletions example/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
Install `dpx`:
```bash
dart pub global activate dpx
```

Run the example:
```bash
> dart pub global run dpx github:Workiva/dpx#path=example/dpx_hello
# Or if you have Dart global executables in your path:
> dpx github:Workiva/dpx#path=example/dpx_hello
Need to install the following packages:
Git repository "https://github.com/Workiva/dpx.git" at path "example/dpx_hello"
Ok to proceed? (y/n) y
8 888888888o. 8 888888888o `8.`8888. ,8'
8 8888 `^888. 8 8888 `88. `8.`8888. ,8'
8 8888 `88. 8 8888 `88 `8.`8888. ,8'
8 8888 `88 8 8888 ,88 `8.`8888.,8'
8 8888 88 8 8888. ,88' `8.`88888'
8 8888 88 8 888888888P' .88.`8888.
8 8888 ,88 8 8888 .8'`8.`8888.
8 8888 ,88' 8 8888 .8' `8.`8888.
8 8888 ,o88P' 8 8888 .8' `8.`8888.
8 888888888P' 8 8888 .8' `8.`8888.
```

0 comments on commit e9bd54a

Please sign in to comment.