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
When configuring through a PEP, we get this warning:
This PEP configures looper through the project config. This approach is deprecated and will be removed in future versions. Please use a looper config file. For more information see looper.databio.org/en/latest/looper-config
Maybe it's time to do this.
Looper config short arg name
--looper-config is verbose and has no short arg name. yet, it seems to me to be a commonly used argument. It should have a short arg name.
The question is, what should it be? -c seems obvious, but that's in use for compute. Still, I'd rather use -c for --looper-config than for --compute.
It could be -l, but that's in use for --limit.
Or maybe it should take over the positional argument of the PEP. Yes, that's probably it.
This will break backwards compatibility, but it's probably time to do that. My thought is:
use position argument for looper config
use --pep to override the pep.
I guess this could be looper v2.0.0 since it breaks backwards compatibility in the CLI.
The text was updated successfully, but these errors were encountered:
nsheff
changed the title
Looper config short arg name
Deprecating configuring through PEP
Feb 15, 2024
Opinionated Design
pydantic-argparse is a very opinionated package by design. It aims for a simple API, and to be both full featured while limiting excessive choices. For example, there are no positional arguments in pydantic-argparse; only optional and required arguments. If your opinions do not align with these design choices, then you may not want to use the package.
Could we rename: --pep to override the pep. -c, --config for the looper config -g for compute?
When configuring through a PEP, we get this warning:
Maybe it's time to do this.
Looper config short arg name
--looper-config
is verbose and has no short arg name. yet, it seems to me to be a commonly used argument. It should have a short arg name.The question is, what should it be?
-c
seems obvious, but that's in use for compute. Still, I'd rather use-c
for--looper-config
than for--compute
.It could be
-l
, but that's in use for--limit
.Or maybe it should take over the positional argument of the PEP. Yes, that's probably it.
This will break backwards compatibility, but it's probably time to do that. My thought is:
--pep
to override the pep.The text was updated successfully, but these errors were encountered: