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
Something along the lines of:
nix-editor [OPTIONS] <FILE> [<ATTRIBUTE> [--val <VAL>]]... nix-editor file.nix name1 --val 0 name2 --val 2
or even perhaps take a json?
{ "name1": 0, "name2": 2 }
The text was updated successfully, but these errors were encountered:
Ever since 0bd160e writing multiple values in the following form has been possible:
nix-editor ./file.nix something -v '{ a = 2; b = 2; }'
I'm thinking from there running something similar without a value could work, say
nix-editor ./file.nix --somearg '{ a = 2; b = 2; }'
would add a = 2 and b = 2 to the nix file
a = 2
b = 2
Sorry, something went wrong.
No branches or pull requests
Something along the lines of:
or even perhaps take a json?
The text was updated successfully, but these errors were encountered: