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
Which components does the task require to be changed? (think hard pls)
sncast
Description
Currently, sncast docs snippets are validated only using runner. Before running the command, we should check if it's at least valid using try_parse_from on Cli. ATM, we cannot do this, because Cli cannot be imported from main.rs.
In the scope of this issue, we should move Cli from main.rs to lib.rs (and other needed structs/functions) and use Cli::try_parse_from before using runner.
The text was updated successfully, but these errors were encountered:
Which components does the task require to be changed? (think hard pls)
sncast
Description
Currently, sncast docs snippets are validated only using
runner
. Before running the command, we should check if it's at least valid usingtry_parse_from
onCli
. ATM, we cannot do this, becauseCli
cannot be imported frommain.rs
.In the scope of this issue, we should move
Cli
frommain.rs
tolib.rs
(and other needed structs/functions) and useCli::try_parse_from
before using runner.The text was updated successfully, but these errors were encountered: