An interactive replacer for ripgrep that makes it easy to find and replace across files on the command line
$ aqua g -i acheronfail/repgrep
packages:
- type: github_release
repo_owner: acheronfail
repo_name: repgrep
description: >-
An interactive replacer for ripgrep that makes it easy to find and replace
across files on the command line
version_constraint: 'false'
version_overrides:
- version_constraint: semver("<= 0.1.1")
asset: 'repgrep-{{.Version}}-{{.Arch}}-{{.OS}}.{{.Format}}'
format: tar.gz
files:
- name: rgr
src: 'repgrep-{{.Version}}-{{.Arch}}-{{.OS}}/rgr'
replacements:
amd64: x86_64
linux: unknown-linux-gnu
supported_envs:
- linux/amd64
- version_constraint: Version == "v0.2.0"
asset: 'repgrep-{{.Version}}-{{.Arch}}-{{.OS}}.{{.Format}}'
format: tar.gz
files:
- name: rgr
src: 'repgrep-{{.Version}}-{{.Arch}}-{{.OS}}/rgr'
replacements:
amd64: x86_64
linux: unknown-linux-musl
supported_envs:
- linux/amd64
- version_constraint: semver("<= 0.4.0")
asset: 'repgrep-{{.Version}}-{{.Arch}}-{{.OS}}.{{.Format}}'
format: tar.gz
files:
- name: rgr
src: 'repgrep-{{.Version}}-{{.Arch}}-{{.OS}}/rgr'
replacements:
amd64: x86_64
linux: unknown-linux-gnu
supported_envs:
- linux/amd64
- version_constraint: semver("<= 0.4.3")
asset: 'repgrep-{{.Version}}-{{.Arch}}-{{.OS}}.{{.Format}}'
format: tar.gz
files:
- name: rgr
src: 'repgrep-{{.Version}}-{{.Arch}}-{{.OS}}/rgr'
replacements:
amd64: x86_64
darwin: apple-darwin
linux: unknown-linux-musl
supported_envs:
- linux/amd64
- darwin
rosetta2: true
- version_constraint: semver("<= 0.4.5")
asset: 'repgrep-{{.Version}}-{{.Arch}}-{{.OS}}.{{.Format}}'
format: tar.gz
files:
- name: rgr
src: 'repgrep-{{.Version}}-{{.Arch}}-{{.OS}}/rgr'
overrides:
- goos: windows
format: zip
replacements:
amd64: x86_64
darwin: apple-darwin
linux: unknown-linux-musl
windows: pc-windows-msvc
supported_envs:
- darwin
- amd64
rosetta2: true
- version_constraint: semver("<= 0.4.7")
no_asset: true
- version_constraint: Version == "v0.4.8"
asset: 'repgrep-{{.Version}}-{{.Arch}}-{{.OS}}.{{.Format}}'
format: tar.gz
files:
- name: rgr
src: 'repgrep-{{.Version}}-{{.Arch}}-{{.OS}}/rgr'
replacements:
amd64: x86_64
darwin: apple-darwin
linux: unknown-linux-musl
supported_envs:
- linux/amd64
- darwin
rosetta2: true
- version_constraint: semver("<= 0.7.0")
asset: 'repgrep-{{.Version}}-{{.Arch}}-{{.OS}}.{{.Format}}'
format: tar.gz
files:
- name: rgr
src: 'repgrep-{{.Version}}-{{.Arch}}-{{.OS}}/rgr'
overrides:
- goos: windows
format: zip
replacements:
amd64: x86_64
darwin: apple-darwin
linux: unknown-linux-musl
windows: pc-windows-msvc
supported_envs:
- darwin
- amd64
rosetta2: true
- version_constraint: Version == "v0.7.1"
no_asset: true
- version_constraint: semver("<= 0.9.0")
asset: 'repgrep-{{.Version}}-{{.Arch}}-{{.OS}}.{{.Format}}'
format: tar.gz
files:
- name: rgr
src: 'repgrep-{{.Version}}-{{.Arch}}-{{.OS}}/rgr'
overrides:
- goos: windows
format: zip
replacements:
amd64: x86_64
darwin: apple-darwin
linux: unknown-linux-musl
windows: pc-windows-msvc
supported_envs:
- darwin
- amd64
rosetta2: true
- version_constraint: Version == "0.10.2"
asset: 'repgrep-{{.Version}}-{{.Arch}}-{{.OS}}.{{.Format}}'
format: tar.gz
files:
- name: rgr
src: 'repgrep-{{.Version}}-{{.Arch}}-{{.OS}}/rgr'
replacements:
amd64: x86_64
darwin: apple-darwin
linux: unknown-linux-musl
supported_envs:
- linux/amd64
- darwin
rosetta2: true
- version_constraint: Version == "0.10.3"
no_asset: true
- version_constraint: Version == "0.10.4"
asset: 'repgrep-{{.Version}}-{{.Arch}}-{{.OS}}.{{.Format}}'
format: tar.gz
files:
- name: rgr
src: 'repgrep-{{.Version}}-{{.Arch}}-{{.OS}}/rgr'
replacements:
amd64: x86_64
darwin: apple-darwin
linux: unknown-linux-musl
supported_envs:
- linux/amd64
- darwin
rosetta2: true
- version_constraint: Version == "0.10.5"
asset: 'repgrep-{{.Version}}-{{.Arch}}-{{.OS}}.{{.Format}}'
format: tar.gz
files:
- name: rgr
src: 'repgrep-{{.Version}}-{{.Arch}}-{{.OS}}/rgr'
replacements:
amd64: x86_64
linux: unknown-linux-musl
supported_envs:
- linux/amd64
- version_constraint: Version == "0.10.6"
asset: 'repgrep-{{.Version}}-{{.Arch}}-{{.OS}}.{{.Format}}'
format: tar.gz
files:
- name: rgr
src: 'repgrep-{{.Version}}-{{.Arch}}-{{.OS}}/rgr'
replacements:
amd64: x86_64
darwin: apple-darwin
linux: unknown-linux-musl
supported_envs:
- linux/amd64
- darwin
rosetta2: true
- version_constraint: 'true'
asset: 'repgrep-{{.Version}}-{{.Arch}}-{{.OS}}.{{.Format}}'
format: tar.gz
files:
- name: rgr
src: 'repgrep-{{.Version}}-{{.Arch}}-{{.OS}}/rgr'
overrides:
- goos: windows
format: zip
replacements:
amd64: x86_64
darwin: apple-darwin
linux: unknown-linux-musl
windows: pc-windows-msvc
supported_envs:
- darwin
- amd64
rosetta2: true