Skip to content

Commit

Permalink
Add: doggo dns client
Browse files Browse the repository at this point in the history
  • Loading branch information
NiceGuyIT committed May 18, 2023
1 parent 9f20f89 commit 7d796e1
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 2 deletions.
8 changes: 6 additions & 2 deletions install/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,9 @@ These are the list of packages that can be installed.
- [age-keygen][]
- [alacritty][] - Windows may require [Universal CRT][] installed
- [atuin][]
- [docker compose][] (Linux only)
- [cfssl-certinfo][]
- [docker compose][] (Linux only)
- [doggo][]
- [fzf][]
- [fd][]
- [lego][]
Expand All @@ -25,8 +26,9 @@ These are the list of packages that can be installed.
[alacritty]: https://github.com/alacritty/alacritty
[atuin]: https://github.com/ellie/atuin
[coreutils]: https://github.com/uutils/coreutils
[docker compose]: https://docs.docker.com/compose/install/
[cfssl]: https://github.com/cloudflare/cfssl
[docker compose]: https://docs.docker.com/compose/install/
[doggo]: https://github.com/mr-karan/doggo
[fd]: https://github.com/sharkdp/fd
[fzf]: https://github.com/junegunn/fzf
[lego]: https://github.com/go-acme/lego
Expand All @@ -46,9 +48,11 @@ These are the list of packages that can be installed.
- [Command line utilities][]
- [curated list of command-line utilities written in Rust][]
- [Awesome Alternatives in Rust][]
- [Modern Unix][]

[Webi]: https://webinstall.dev/
[Rust command line utilities]: https://github.com/sts10/rust-command-line-utilities
[Command line utilities]: https://lib.rs/command-line-utilities
[curated list of command-line utilities written in Rust]: https://github.com/sts10/rust-command-line-utilities
[Awesome Alternatives in Rust]: https://github.com/TaKO8Ki/awesome-alternatives-in-rust
[Modern Unix]: https://github.com/ibraheemdev/modern-unix
25 changes: 25 additions & 0 deletions install/Taskfile.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -276,6 +276,31 @@ tasks:
# TODO: Check for version numbers to see if it needs to be updated.
- '"{{ osClean (print .BIN_DIR "/" .NAME) }}" --help'

doggo:
# https://github.com/mr-karan/doggo
desc: Install 'doggo', a Command-line DNS Client for Humans
vars:
NAME: doggo
OWNER: mr-karan
# .ARCH needs to be defined here because ASSET_PATTERN is evaluated before calling the task.
ARCH: '{{ARCH}}'
COMPRESS_EXT: '.tar.gz'
SEMVER_REGEX: 'v?[0-9]+\.([0-9]+\.?){1,}'
cmds:
- task: :github:download
vars: {
NAME: '{{.NAME}}',
OWNER: '{{.OWNER}}',
ARCH: '{{.ARCH}}',
COMPRESS_EXT: '{{.COMPRESS_EXT}}',
ASSET_PATTERN: '{{.NAME}}_*_{{OS}}_{{.ARCH}}{{.COMPRESS_EXT}}'
}
status:
# Note: This explicitly checks if the file is in BIN_DIR. This means multiple versions can be installed, one in
# root and one in the user's bin directory.
# TODO: Check for version numbers to see if it needs to be updated.
- '"{{ osClean (print .BIN_DIR "/" .NAME) }}" --version'

fd:
# https://github.com/sharkdp/fd
desc: Install 'fzf', a simple, fast and user-friendly alternative to 'find'
Expand Down

0 comments on commit 7d796e1

Please sign in to comment.