-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
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
Thanks! (from divnix/std
)
#10
Comments
First one: flake? 😊 I really don't want to wrap legacy nix projects for the complexity it entails in |
Second one: what have been your plans / ideas for positional arguments? To keep a script interface simple and good dx, they are gold. |
Tbh I don't have that much idea about how to implement it, maybe something like how python's argparse works. About the flake, I didn't used yet because I basically don't use external dependencies, but thinking about now it seems a good choice anyway. I wanted to implement also the completion system but I really don't know how can I structure in a way that doesn't look very verbose. |
Was your plan to put them as a file im the right place next to the derivation alongside Or where you rather concerned about the verbosity of the Nix code? |
Tbh I added the derivation only as a convenience feature. The idea is to generate the completion files as a target option, but this can be also exposed in that derivation. |
Verbose I am refering about the nix code the user would need to write to define the CLIs |
Looks like you solved a use case for https://github.com/divnix/std when we want to encourage repository maintainers to write higher quality repo scripts / tasks.
Let's keep track here if any feedback comes up.
cc @jmgilman
The text was updated successfully, but these errors were encountered: