|
1 | | -# asdf-plugin-template [](https://github.com/asdf-vm/asdf-plugin-template/actions/workflows/build.yml) [](https://github.com/asdf-vm/asdf-plugin-template/actions/workflows/lint.yml) |
| 1 | +<div align="center"> |
2 | 2 |
|
3 | | -This is an [asdf-vm plugin](https://asdf-vm.com/#/plugins-create) template with CI to run [Shellcheck](https://github.com/koalaman/shellcheck) and testing with the [asdf test GitHub Action](https://github.com/asdf-vm/actions). |
| 3 | +# asdf-pkl-aws-secret-resource-reader [](https://github.com/infrablocks/asdf-pkl-aws-secret-resource-reader/actions/workflows/build.yml) [](https://github.com/infrablocks/asdf-pkl-aws-secret-resource-reader/actions/workflows/lint.yml) |
4 | 4 |
|
5 | | -## Usage |
| 5 | +[pkl-aws-secret-resource-reader](https://github.com/infrablocks/pkl-aws-secret-resource-reader) plugin for the [asdf version manager](https://asdf-vm.com). |
6 | 6 |
|
7 | | -1. [Generate](https://github.com/asdf-vm/asdf-plugin-template/generate) a new repository based on this template. |
8 | | -1. Clone it and run `bash setup.bash`. |
9 | | -1. Force push to your repo: `git push --force-with-lease`. |
10 | | -1. Adapt your code at the TODO markers. To find the markers: `git grep TODO`. |
11 | | -1. To develop your plugin further, please read [the plugins create section of the docs](https://asdf-vm.com/plugins/create.html). |
| 7 | +</div> |
12 | 8 |
|
13 | | ->A feature of this plugin-template when hosted on GitHub is the use of [release-please](https://github.com/googleapis/release-please), an automated release tool. It leverages [Conventional Commit messages](https://www.conventionalcommits.org/) to determine semver release type, see the [documentation](https://github.com/googleapis/release-please). |
| 9 | +# Contents |
14 | 10 |
|
15 | | -## Contributing |
| 11 | +- [Dependencies](#dependencies) |
| 12 | +- [Install](#install) |
| 13 | +- [Contributing](#contributing) |
| 14 | +- [License](#license) |
16 | 15 |
|
17 | | -Contributions welcome! |
| 16 | +# Dependencies |
18 | 17 |
|
19 | | -1. Install `asdf` tools |
| 18 | +**TODO: adapt this section** |
20 | 19 |
|
21 | | - ```shell |
22 | | - asdf plugin add shellcheck https://github.com/luizm/asdf-shellcheck.git |
23 | | - asdf plugin add shfmt https://github.com/luizm/asdf-shfmt.git |
24 | | - asdf install |
25 | | - ``` |
| 20 | +- `bash`, `curl`, `tar`, and [POSIX utilities](https://pubs.opengroup.org/onlinepubs/9699919799/idx/utilities.html). |
| 21 | +- `SOME_ENV_VAR`: set this environment variable in your shell config to load the correct version of tool x. |
26 | 22 |
|
27 | | -1. Develop! |
| 23 | +# Install |
28 | 24 |
|
29 | | -1. Lint & Format |
| 25 | +Plugin: |
30 | 26 |
|
31 | | - ```shell |
32 | | - ./scripts/format.bash |
33 | | - ./scripts/lint.bash |
34 | | - ``` |
| 27 | +```shell |
| 28 | +asdf plugin add pkl-aws-secret-resource-reader |
| 29 | +# or |
| 30 | +asdf plugin add pkl-aws-secret-resource-reader https://github.com/infrablocks/asdf-pkl-aws-secret-resource-reader.git |
| 31 | +``` |
35 | 32 |
|
36 | | -1. PR changes |
| 33 | +pkl-aws-secret-resource-reader: |
| 34 | + |
| 35 | +```shell |
| 36 | +# Show all installable versions |
| 37 | +asdf list-all pkl-aws-secret-resource-reader |
| 38 | + |
| 39 | +# Install specific version |
| 40 | +asdf install pkl-aws-secret-resource-reader latest |
| 41 | + |
| 42 | +# Set a version globally (on your ~/.tool-versions file) |
| 43 | +asdf global pkl-aws-secret-resource-reader latest |
| 44 | + |
| 45 | +# Now pkl-aws-secret-resource-reader commands are available |
| 46 | +pkl-aws-secret-resource-reader --help |
| 47 | +``` |
| 48 | + |
| 49 | +Check [asdf](https://github.com/asdf-vm/asdf) readme for more instructions on how to |
| 50 | +install & manage versions. |
| 51 | + |
| 52 | +# Contributing |
| 53 | + |
| 54 | +Contributions of any kind welcome! See the [contributing guide](contributing.md). |
| 55 | + |
| 56 | +[Thanks goes to these contributors](https://github.com/infrablocks/asdf-pkl-aws-secret-resource-reader/graphs/contributors)! |
| 57 | + |
| 58 | +# License |
| 59 | + |
| 60 | +See [LICENSE](LICENSE) © [Tom Duckering](https://github.com/infrablocks/) |
0 commit comments