Skip to content

Commit

Permalink
Fixing missing commands (#7)
Browse files Browse the repository at this point in the history
  • Loading branch information
dkyanakiev authored Nov 30, 2023
1 parent 849ed5f commit 4a0b762
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 3 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# Changelog

## [0.0.5] - 2023-11-30


### Fixed
- Missing commands for 2 views
- Version command check would fail if missing `VAULT_TOKEN` or `VAULT_ADDR` is missing

## [0.0.3] - 2023-11-30

### Added
Expand Down
2 changes: 1 addition & 1 deletion cmd/vaul7y/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import (
)

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

type options struct {
Version bool `short:"v" long:"version" description:"Show Damon version"`
Expand Down
5 changes: 3 additions & 2 deletions component/commands.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,17 +25,18 @@ var (
PolicyCommands = []string{
fmt.Sprintf("\n%s ACL Policy Commands:", styles.HighlightSecondaryTag),
fmt.Sprintf("%s<i> or <Enter> %s to inspect policy", styles.HighlightPrimaryTag, styles.StandardColorTag),
fmt.Sprintf("%s</>%s apply filter", styles.HighlightPrimaryTag, styles.StandardColorTag),
fmt.Sprintf("%s</>%s Filter policies ", styles.HighlightPrimaryTag, styles.StandardColorTag),
}
PolicyACLCommands = []string{
fmt.Sprintf("\n%s ACL Policy Commands:", styles.HighlightSecondaryTag),
fmt.Sprintf("%s<esc>%s to go back", styles.HighlightPrimaryTag, styles.StandardColorTag),
//fmt.Sprintf("%s</>%s apply filter", styles.HighlightPrimaryTag, styles.StandardColorTag),
// fmt.Sprintf("%s</>%s apply filter", styles.HighlightPrimaryTag, styles.StandardColorTag),
}
SecretsCommands = []string{
fmt.Sprintf("\n%s Secrets Commands:", styles.HighlightSecondaryTag),
fmt.Sprintf("%s<e> or <enter>%s to navigate to selected the path", styles.HighlightPrimaryTag, styles.StandardColorTag),
fmt.Sprintf("%s<b> or <esc>%s to go back to the previous path", styles.HighlightPrimaryTag, styles.StandardColorTag),
fmt.Sprintf("%s</>%s Filter objects ", styles.HighlightPrimaryTag, styles.StandardColorTag),
}
SecretObjectCommands = []string{
fmt.Sprintf("\n%s Secret Commands:", styles.HighlightSecondaryTag),
Expand Down

0 comments on commit 4a0b762

Please sign in to comment.