Skip to content

Commit

Permalink
Merge pull request #14 from virtualroot/add-overview
Browse files Browse the repository at this point in the history
feat: add help output for asdf
  • Loading branch information
virtualroot authored Nov 11, 2023
2 parents b2930e7 + 6534fc2 commit 4d7b293
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 0 deletions.
14 changes: 14 additions & 0 deletions bin/help.links
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
#!/usr/bin/env bash

set -euo pipefail

current_script_path=${BASH_SOURCE[0]}
plugin_dir=$(dirname "$(dirname "${current_script_path}")")

# shellcheck source=./lib/utils.bash
source "${plugin_dir}/lib/utils.bash"

cat <<EOF
- official: https://github.com/opentofu/opentofu
- plugin: https://github.com/virtualroot/asdf-opentofu
EOF
18 changes: 18 additions & 0 deletions bin/help.overview
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
#!/usr/bin/env bash

set -euo pipefail

current_script_path=${BASH_SOURCE[0]}
plugin_dir=$(dirname "$(dirname "${current_script_path}")")

# shellcheck source=./lib/utils.bash
source "${plugin_dir}/lib/utils.bash"

cat <<EOF
opentofu: declaratively manage your cloud infrastructure
asdf install opentofu latest
asdf global opentofu latest
tofu -help
EOF

0 comments on commit 4d7b293

Please sign in to comment.