-
Notifications
You must be signed in to change notification settings - Fork 33
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
Discuss better CLI parsing / startup-options #271
Comments
Personally, not a fan of YAML - my vote is against that. |
Ziggy does seem super cool. I asked Loris on his (super unbiased) opinion on using Ziggy, and he suggested starting with JSON or something and then switching to Ziggy later once he's done another design pass; we might not want to beta test it. |
im pro config files too |
ok, it's been a while to vote, and now we have the next picture:
only a few libraries help to parse Anyway, this week I'll have some bandwidth to start implementing that feature, and I'm going to start by creating a config struct (which is not dependent on config-file ext). I believe we will agree on a config-file extension during the first step of implementation |
Problem
I'd like to discuss that https://github.com/orgs/Syndica/projects/2/views/1?pane=issue&itemId=47708039 in the proposal.
there are a couple of libraries in zig ecosystem for writing CLI applications
Proposal
to discuss the pros and cons of each library which were listed above and choose the best one
However, I, personally ,would prefer to parse yaml/toml config file, as it was done in the firedancer
Because It's tedious to pass 20+ node options to start-up the script.
And, IMO, it's easier to specify all the configurations grouped by labels, and
yaml
/toml
config is more convenient for that.yes, you can say something like: "this is a skill issue" and reference to shell-script like the following
or something similar with templates
Alternatives
as an alternative to
yaml
/toml
config file, we can discuss ziggy - a zig-based schema language that can validate your config against data-layoutAdditional Context
No response
The text was updated successfully, but these errors were encountered: