generated from PlexSheep/rs-base
WIP: Guess the format of numbers #24
No reviewers
Labels
No Label
Kind/Breaking
Kind/Bug
Kind/Documentation
Kind/Enhancement
Kind/Feature
Kind/Security
Kind/Testing
Priority
Critical
Priority
High
Priority
Low
Priority
Medium
Reviewed
Confirmed
Reviewed
Duplicate
Reviewed
Invalid
Reviewed
Won't Fix
Status
Abandoned
Status
Blocked
Status
Need More Info
No Milestone
No project
No Assignees
1 Participants
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: PlexSheep/numf#24
Loading…
Reference in New Issue
No description provided.
Delete Branch "feat/guess-format"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
it should be possible to input hex numbers, bin numbers and so on.
Consider adding a --guess flag (or
--no-guess
) to disable/enable guessing.Guessing should not be the default, I suppose, as someone might want to input
0d10
but have it be interpreted as0b10
.Refs: #20
numf_parser
guess: bool
parameterwe need to specify a parser with a single parameter with clap derive to accept numbers with the cli. We could probably do manual parsing, but that sucks and I don't want to do it. We could implement guessing automatically, but then the user couldn't choose, which is something I don't want too.
This is more difficult than expected.
We really only have these options: