Skip to content

Commit

Permalink
Small tweeks (#6)
Browse files Browse the repository at this point in the history
  • Loading branch information
dkyanakiev authored Nov 30, 2023
1 parent 8384e7a commit 849ed5f
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 5 deletions.
7 changes: 3 additions & 4 deletions cmd/vaul7y/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,17 +18,14 @@ import (
)

var refreshIntervalDefault = time.Second * 30
var version = "0.0.3"
var version = "0.0.4"

type options struct {
Version bool `short:"v" long:"version" description:"Show Damon version"`
}

func main() {

// Check for required Vault env vars
checkForVaultAddress()

var opts options
_, err := flags.ParseArgs(&opts, os.Args)
if err != nil {
Expand All @@ -39,6 +36,8 @@ func main() {
fmt.Println("vaul7y", version)
os.Exit(0)
}
// Check for required Vault env vars
checkForVaultAddress()

logFile, logger := config.SetupLogger()
defer logFile.Close()
Expand Down
20 changes: 19 additions & 1 deletion docs/usage.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,25 @@

### Brew

--> Not currently supported
```
brew install dkyanakiev/tap/vaul7y
# to upgrade
brew update && brew upgrade vaul7y
```

### Download from GitHub

Download the relevant binary for your operating system (macOS = Darwin) from
the [latest Github release](https://github.com/dkyanakiev/vaul7y/releases). Unpack it, then move the binary to
somewhere accessible in your `PATH`, e.g. `mv ./vaul7y /usr/local/bin`.

### > Using [go installed on your machine](https://go.dev/doc/install)

```shell
go install github.com/dkyanakiev/vaul7y@latest
```

### Building from source and Run Vaul7y

Expand Down

0 comments on commit 849ed5f

Please sign in to comment.