We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Currently how would we test if an eza binary was built with -git (git feature disabled)?
-git
I see this fails as expected:
❯ eza --git eza: Options --git and --git-ignore can't be used because `git` feature was disabled in this build of exa
But not these:
❯ eza --git --help ... ❯ eza --git --version ...
(Although all the above always fail when an unknown parameter is given, like --gix)
--gix
Can we make eza always fail when the --git parameter is given and it was build with -git?
--git
The text was updated successfully, but these errors were encountered:
That's definitely one for after the clap integration, if that ever happens.
clap
Sorry, something went wrong.
How do you suggest we check if the git feature is enabled? Maybe by calling eza --git /dev/null?
eza --git /dev/null
Example of a shell script:
if eza --git /dev/null &>/dev/null; then alias ll='eza -l --git' else alias ll='eza -l' fi
How about don't fail, just ignore the option?
No branches or pull requests
Currently how would we test if an eza binary was built with
-git
(git feature disabled)?I see this fails as expected:
But not these:
(Although all the above always fail when an unknown parameter is given, like
--gix
)Can we make eza always fail when the
--git
parameter is given and it was build with-git
?The text was updated successfully, but these errors were encountered: