dylanrayboss / asdf-oapi-codegen

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

asdf-oapi-codegen Build Lint

oapi-codegen plugin for the asdf version manager.

Contents

Dependencies

This plugin depends on common POSIX utilities (awk, grep, sed, etc.), Bash, Git, and Go. If you have a Go toolchain installed and selected via asdf (asdf current golang), it will be used to retrieve and build oapi-codegen. Otherwise, asdf will be used to retrieve the latest Go version and that will be used for the build.

Install

Plugin:

asdf plugin add oapi-codegen
# or
asdf plugin add oapi-codegen https://github.com/dylanrayboss/asdf-oapi-codegen.git

oapi-codegen:

# Show all installable versions
asdf list-all oapi-codegen

# Install specific version
asdf install oapi-codegen latest

# Set a version globally (on your ~/.tool-versions file)
asdf global oapi-codegen latest

# Now oapi-codegen commands are available
oapi-codegen --version

Check asdf readme for more instructions on how to install & manage versions.

Contributing

Contributions of any kind welcome! See the contributing guide.

Thanks goes to these contributors!

License

See LICENSE © dylan

About

License:Other


Languages

Language:Shell 100.0%