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
Maintaining both structopt and native clap argument validation and marshaling in our CLI code base has become a non-trivial overhead.
An important tech-debt task should entail converting the full CLI code base to structopt and removing the old clap parsing and marshaling functions.
Ideally, our structopt implementation utilizes native clap consumption of arguments via ENVvars, incorporates desired defaults, and consumes values from cli.toml if they exist. If we can achieve this, we can eliminate a significant amount of old clap specific argument marshaling/validation functions and allow clap to do it up front. This way, what comes out of structopt will already be populated and validated and handing off to edge CLI commands will be much simplified.
The text was updated successfully, but these errors were encountered:
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. We value your input and contribution. Please leave a comment if this issue still affects you.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. We value your input and contribution. Please leave a comment if this issue still affects you.
Maintaining both structopt and native clap argument validation and marshaling in our CLI code base has become a non-trivial overhead.
An important tech-debt task should entail converting the full CLI code base to structopt and removing the old clap parsing and marshaling functions.
Ideally, our structopt implementation utilizes native clap consumption of arguments via ENVvars, incorporates desired defaults, and consumes values from
cli.toml
if they exist. If we can achieve this, we can eliminate a significant amount of old clap specific argument marshaling/validation functions and allow clap to do it up front. This way, what comes out of structopt will already be populated and validated and handing off to edge CLI commands will be much simplified.The text was updated successfully, but these errors were encountered: