Age | Commit message (Collapse) | Author |
|
|
|
|
|
|
|
Create choose::Error and choose::Result
Improve error propogation
Improve error printing
Add tests for negative indices
Add get_negative_start_end tests
Fixup negative choice indexing
Remove most uses of unwrap
Fixes #38
|
|
|
|
Alphabetize structopt options
Add character-wise tests
Add character-wise switch
Add print-after-end test
Add empty default separator for char-wise mode
Add char-wise forward and negative printing
Add pure reverse printing
Change to char_wise to user `char` instead of `u8`
Adds support for unicode (read: emojis)
Adds a newline char to end of each char-wise test because that's how it
is
Add writing traits for better code structure
Merge repetitive codepaths with generics
Unify print_choice_* funtion names
Reorder functions in choice module
Rename variable to avoid name confusion
Make default case for loop more readable
Abstract default case print loop
Add e2e test
Move vec create to print_choice_negative
|
|
Add output_field_separator option
Add output_field_separator tests
Change structopt req to 0.3
Separate negative choices into a function
Prevent tail printing output_field_separator
Change OFS to Option<String> with a default value of " "
Reorder arguments to write_bytes to parallel print_choice
Print output_separator in main loop if applicable
Add `cargo test` to Makefile
Add write_separator function
|
|
Allow negative ranges as long as they aren't reversed too
Allow reversed negative ranges iff both indices are negative
|
|
|
|
0 - Success
1 - Argument parsing error
2 - Regex compilation error
|
|
|
|
|
|
|
|
|
|
|
|
|