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
Nor approach is sustainable/maintainable and they could get unsynced/outdated easily. Use an appropiete library (like clap with derive support) that handles all these automatically. Providing the autocomplete files could be a nice additional feature as well.
Neither approach is sustainable or maintainable and they can easily become outdated or unsynced. Ideally we should use clap (with derive support to handle them on the type level) to handle these automatically. By using clap we can generate the autocomplete files too.
The text was updated successfully, but these errors were encountered:
Currently, the help flag is handled in this way:
komodo-defi-framework/mm2src/mm2_main/src/mm2.rs
Lines 152 to 163 in 35e9239
And the CLI arguments are managed like this:
komodo-defi-framework/mm2src/mm2_main/src/mm2.rs
Lines 246 to 262 in 35e9239
Nor approach is sustainable/maintainable and they could get unsynced/outdated easily. Use an appropiete library (like clap with derive support) that handles all these automatically. Providing the autocomplete files could be a nice additional feature as well.
Neither approach is sustainable or maintainable and they can easily become outdated or unsynced. Ideally we should use clap (with derive support to handle them on the type level) to handle these automatically. By using clap we can generate the autocomplete files too.
The text was updated successfully, but these errors were encountered: