aqua-installer

command module
v1.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 22, 2022 License: MIT Imports: 2 Imported by: 0

README

aqua-installer

Build Status GitHub last commit License

Install aqua quickly

Shell Script

$ curl -sSfL https://raw.githubusercontent.com/aquaproj/aqua-installer/v1.1.2/aqua-installer | bash

You can pass the following parameters.

  • -v [aqua version]: aqua version
  • -i [aqua install path]: aqua's install path
    • default (linux, macOS): ${AQUA_ROOT_DIR:-${XDG_DATA_HOME:-$HOME/.local/share}/aquaproj-aqua}/bin/aqua
    • default (windows): ${AQUA_ROOT_DIR:-$HOME/AppData/Local/aquaproj-aqua}/bin/aqua

e.g.

$ curl -sSfL https://raw.githubusercontent.com/aquaproj/aqua-installer/v1.1.2/aqua-installer | bash -s -- -v v1.25.0 -i bin/aqua

If the version isn't specified, the latest version would be installed.

Go

$ go run github.com/aquaproj/aqua-installer@latest -help
aqua-installer - Install aqua

https://github.com/aquaproj/aqua-installer

Usage:
	$ aqua-installer [--aqua-version latest] [-o <install path>] [-os <OS>] [-arch <ARCH>]

Options:
	--help          show this help message
	--version       show aqua-installer version
	--aqua-version  aqua version. The default value is "latest"
	-o              File Path where aqua is installed. The default value is ${AQUA_ROOT_DIR:-${XDG_DATA_HOME:-$HOME/.local/share}/aquaproj-aqua}/bin
	-os             OS (e.g. linux, darwin, windows). By default, Go's runtime.GOOS. You can change by the environment variable AQUA_GOOS
	-arch           CPU Architecture (amd64 or arm64). By default, Go's runtime.GOARCH. You can change by the environment variable AQUA_GOARCH

e.g.

$ go run github.com/aquaproj/aqua-installer@latest

GitHub Actions

e.g.

- uses: aquaproj/aqua-installer@v1.1.2
  with:
    aqua_version: v1.25.0
- uses: aquaproj/aqua-installer@v1.1.2
  with:
    aqua_version: v1.25.0
    install_path: /tmp/bin/aqua
    working_directory: foo
    aqua_opts: ""
  env:
    AQUA_CONFIG: aqua-config.yaml
    AQUA_LOG_LEVEL: debug
Inputs

Please see action.yaml too.

Required Inputs
name description
aqua_version Installed aqua version
Optional Inputs
name default description
install_path ${AQUA_ROOT_DIR:-${XDG_DATA_HOME:-$HOME/.local/share}/aquaproj-aqua}/bin/aqua aqua's install path
enable_aqua_install "true" if this is "false", executing aqua i and updating GITHUB_PATH are skipped
aqua_opts -l aqua i's option. If you want to specify global options, please use environment variables
working_directory "" working directory
Outputs

Please see action.yaml too.

Nothing.

License

MIT

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
pkg
api

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL