Skip to content
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

Multiple Namelists in CLI #156

Open
kgallmei opened this issue Jul 6, 2023 · 1 comment
Open

Multiple Namelists in CLI #156

kgallmei opened this issue Jul 6, 2023 · 1 comment

Comments

@kgallmei
Copy link

kgallmei commented Jul 6, 2023

I would very much appreciate, if one could change variables in multiple namelists via the cli simultanuously.

So instead of giving '-g NML' and '-v "VAR=val"', which works only for only one 'NML' (I do not know, for which one, if one gives multiple '-g ...'), one could maybe implement an argument parser, which uses the syntax "-v "NML:VAR=val" and throw the '-g ...'?

Thanks for the cool work anyway.

@marshallward
Copy link
Owner

I agree, the current flags are neither good nor easy to use. I believe could use an entire overhaul.

Your suggestion seems good to me, I'll also look at how jq does this sort of thing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants