You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As a proof of concept I want to propose something like the following bash script but built into the binary.
Another behaviour could be to run nylon edit to directly open up /etc/nylon/node.cfg or something
I think that's a great idea, especially if you are setting up many nodes.
We can have a command like nylon init --id <node> --port 123 <other args>, which creates the config, generates the private key (if not provided) and prints the public key (or other helpful info).
We can also have an interactive mode (maybe if you didn't provide the required args), which is similar to your script.
As for nylon edit, I think it might be a bit more tricky, since we would somehow launch the editor of the user's choice, which can add unnecessary complexity.
I can look into this in a few weeks, of course, contributions are welcome as well! :)
Activity
encodeous commentedon Dec 5, 2025
I think that's a great idea, especially if you are setting up many nodes.
We can have a command like
nylon init --id <node> --port 123 <other args>, which creates the config, generates the private key (if not provided) and prints the public key (or other helpful info).We can also have an interactive mode (maybe if you didn't provide the required args), which is similar to your script.
As for
nylon edit, I think it might be a bit more tricky, since we would somehow launch the editor of the user's choice, which can add unnecessary complexity.I can look into this in a few weeks, of course, contributions are welcome as well! :)