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
replace example.nix with:
{ pkgs ? import <nixpkgs> {} }: let climod = pkgs.callPackage ./default.nix { inherit pkgs; }; in climod { name = "multiple-flags"; description = "Test multiple flags"; action.bash = '' echo "A: ''${A:-}" echo "B: ''${B:-}" ''; flags = [ { description = "Flag a"; keywords = ["-a"]; variable = "A"; } { description = "Flag b"; keywords = ["-b"]; variable = "B"; } ]; }
and then run with:
$(nix-build example.nix)/bin/* -a aaa -b bbb
expected output:
A: aaa B: bbb
actual output:
A: aaa B:
removing the following lines seems to help:
climod/modules/generators/bash/common.nix
Line 105 in 64f6c54
The text was updated successfully, but these errors were encountered:
No branches or pull requests
replace example.nix with:
and then run with:
expected output:
actual output:
removing the following lines seems to help:
climod/modules/generators/bash/common.nix
Line 105 in 64f6c54
The text was updated successfully, but these errors were encountered: