Show a warning when using wrong executable
This commit updates the 'wdcli' command to show a warning when using the wrong executable.
This commit is contained in:
parent
c4de1f2a06
commit
35bb95c5ca
29 changed files with 176 additions and 30 deletions
3
env/requirements.go
vendored
3
env/requirements.go
vendored
|
|
@ -6,7 +6,8 @@ import (
|
|||
)
|
||||
|
||||
type Requirements struct {
|
||||
NeedsConfig bool
|
||||
// Do we need an installed distillery?
|
||||
NeedsDistillery bool
|
||||
}
|
||||
|
||||
// AllowsFlag checks if the provided flag may be passed to fullfill this requirement
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue