Skip to content

Add convenient aliases for allow/deny commands#935

Merged
zimbatm merged 4 commits intodirenv:masterfrom
rvl:rvl/allow-deny-aliases
Apr 25, 2022
Merged

Add convenient aliases for allow/deny commands#935
zimbatm merged 4 commits intodirenv:masterfrom
rvl:rvl/allow-deny-aliases

Conversation

@rvl
Copy link
Copy Markdown
Contributor

@rvl rvl commented Apr 22, 2022

It's easy to forget the correct command name -- so support them all!

  • allow / block
  • permit / deny
  • grant / revoke

Closes #832

Copy link
Copy Markdown
Member

@zimbatm zimbatm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Look good. The CI is failing with a gofmt issue. Once that's fixed the PR should be good to go.

rvl added 3 commits April 23, 2022 13:16
It's easy to forget the correct command name -- so support them all!

  allow  / block
  permit / deny
  grant  / revoke
@rvl
Copy link
Copy Markdown
Contributor Author

rvl commented Apr 23, 2022

Thanks @zimbatm. CI should be fixed now.

@zimbatm zimbatm merged commit 40abb4d into direnv:master Apr 25, 2022
@zimbatm
Copy link
Copy Markdown
Member

zimbatm commented Apr 25, 2022

thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

Add "direnv block" as an alias of "direnv deny"

2 participants