Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/oscal-club/asdf-oscal-cli
A version manager for oscal-cli.
https://github.com/oscal-club/asdf-oscal-cli
Last synced: 2 months ago
JSON representation
A version manager for oscal-cli.
- Host: GitHub
- URL: https://github.com/oscal-club/asdf-oscal-cli
- Owner: oscal-club
- License: mit
- Created: 2022-09-14T02:59:49.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-05-28T04:35:13.000Z (over 1 year ago)
- Last Synced: 2024-08-02T18:38:41.020Z (5 months ago)
- Language: Shell
- Size: 12.7 KB
- Stars: 4
- Watchers: 1
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-oscal - OSCAL Club's asdf-oscal-cli - vm/asdf) so OSCAL adopters can install and switch between multiple versions of NIST's [`oscal-cli`](https://github.com/usnistgov/oscal-cli) repeatedly and reliably. (Tools)
README
# asdf-oscal-cli
[`oscal-cli`](https://github.com/usnistgov/oscal-cli.git)
plugin for the [asdf](https://github.com/asdf-vm/asdf) version manager.## Install
After installing [asdf](https://github.com/asdf-vm/asdf),
you can add this plugin like this:```bash
asdf plugin-add oscal-cli https://github.com/oscal-club/asdf-oscal-cli.git
```and install new versions like this:
```bash
asdf install oscal-cli 0.3.3
```and switch versions like this:
```bash
asdf global oscal-cli 0.3.2
```## Configuration
### Configuring on macOS, maybe with a JRE installed from Homebrew, but it doesn't work?
Are you using `asdf` on macOS and having trouble with this plugin? If so, I will guess you are using Homebrew or another to tool to override the older, default installation of the Java Runtime Environment on your macOS. Is this the case for your workstation?
If so, you need to explicitly override the path to the JRE or `oscal-cli` will look for the default one.
```
# This is the default for Homebrew, and may not be correct in all cases, so plan accordingly or ask for help.
# In your shell configuration file, be it ~/.bash_profile or ~/.zshrc:
export JAVA_HOME=/opt/homebrew/opt/openjdk
```Thanks to the community member who pointed this out. See their report and explanation of this workaround in [oscal-club/asdf-oscal-cli#3](https://github.com/xee5ch/asdf-oscal-cli/issues/3) for more details.