Automatically replace dashes -
with underscores _
in example names, if necessary
#18
Labels
enhancement
New feature or request
good first issue
Good for newcomers
help wanted
Extra attention is needed
Is your feature request related to a problem? Please describe.
It would be cool if we can automatically replace dashes
-
with underscores_
(or vice versa) if we determine that a user-entered example name with dashes-
is not a valid example, but that it would be instead valid with_
.The main impetus for this is that it is somewhat easier to type a dash
-
on a keyboard - don't need to make a beeline for the shift key, for example. 🤔Describe the solution you'd like
Current output when running
cargo run --example
, when mis-typing_
as-
for instance:Desired output:
The text was updated successfully, but these errors were encountered: