summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2022-09-16Fix typos and markdownsHEADmasterKian-Meng Ang
See a detailed description of the rules is available at https://github.com/markdownlint/markdownlint/blob/master/docs/RULES.md # Please enter the commit message for your changes. Lines starting
2022-04-23Create version 1.3.4v1.3.4Ryan Geary
2022-04-23Fix field separator issue with no EOFRyan Geary
2022-04-23Fix positive start, negative end, length 1 choice is emptyRyan Geary
2022-04-18Rename test files for Windows compatibilityPaul Moore
2021-12-16README: add MacPorts install infoHerby Gillot
`choose` is available via MacPorts: https://ports.macports.org/port/choose/
2021-07-26Create version 1.3.3v1.3.3Ryan Geary
Fixes a bug that occurs when the input is an empty line and a negative choice is used, causing `choose` to crash
2021-07-23Improve error handling38-unwrap-on-empty-choiceRyan Geary
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
2021-07-12Bump to version 1.3.2v1.3.2Ryan Geary
2021-07-12Apply clippy suggestionsRyan Geary
2021-07-12Update github workflowsRyan Geary
2021-07-12Apply clippy suggestionsRyan Geary
2021-07-12Propogate BrokenPipe error up to main and exit gracefullyRyan Geary
2020-08-16Add GitHub action to create GitHub releaseRyan Geary
2020-08-13Bump to version 1.3.1v1.3.1Ryan Geary
2020-08-13Fix blank line getting printed with field_separatorRyan Geary
This changes the onus of removing trailing newlines when it matters to the caller to print_choice.
2020-08-13Move `make release` rule to be defaultRyan Geary
2020-06-26Bump to version 1.3.0v1.3.0Ryan Geary
2020-06-26add brew package to readme.mdCollin Reilly Clark
closes #21
2020-06-24Use LineWriter when input is stdin (#10)Ryan Geary
2020-06-17Move backslash escaping to separate crateRyan Geary
2020-06-17Add backslash escape parsing (#26)Ryan Geary
2020-06-16Add crates.io GitHub actionRyan Geary
2020-06-15Add one_indexed flag (#23)Ryan Geary
2020-06-08Bump version to 1.2.0v1.2.0Ryan Geary
2020-06-08Add regression tests for #16Ryan Geary
2020-06-08Create rust.ymlRyan Geary
2020-06-08Add alternate Rust-y range syntax (#11)Ryan Geary
Refactor to support choice 'kind' Add ParseRangeError Add rust syntax range parsing tests Implement rust syntax parsing Change parse to not anticipate exclusivity Add choice tests Implement Rust syntax choices Show that there are multiple in opt.choice*s* Refactor repeated code in choice tests Update documentation to reflect Rust range syntax
2020-06-08Fix readme exclusivity mistakeRyan Geary
fixes #14
2020-06-08Add CONTRIBUTING.mdRyan Geary
2020-06-07Prepare for crates.io releaseRyan Geary
2020-06-07Add license line to Cargov1.1.2Ryan Geary
2020-06-02Add updated documentationv1.1.1Ryan Geary
2020-06-02Advance to v1.1.0v1.1.0Ryan Geary
2020-06-02Add character-wise `choose`ingRyan Geary
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
2020-04-13Add Arch Linux installation to readmeRyan Geary
2020-04-06[FEATURE] specify output field delimiter (#8)Ryan Geary
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
2020-04-04Non-greedy String Splitting (#7)Ryan Geary
* Add non_greedy flag * Add non-greedy tests * Prevent printing spaces for empty fields * Prevent filtering non-empty fields when non-greedy
2020-04-04Update readme.mdArtem Polishchuk
2020-04-04Add packaging statusArtem Polishchuk
2020-04-04Move Cargo.toml to v1.0.0v1.0.0Ryan Geary
2020-04-02Create LICENSERyan Geary
2020-04-02Fix documentation inconsistencyRyan Geary
2020-04-02Update documentation for v0.1.4v0.1.4Ryan Geary
2020-04-01Add negative choice and parsing testsRyan Geary
Allow negative ranges as long as they aren't reversed too Allow reversed negative ranges iff both indices are negative
2020-03-17Cargo fmtRyan Geary
2020-03-17Handle failure to open input fileRyan Geary
2020-03-17Reassign exit codes and clean up e2e_testRyan Geary
0 - Success 1 - Argument parsing error 2 - Regex compilation error
2020-03-16Use debuginfo only for flamegraph buildsRyan Geary
2020-03-15Separate Opt into separate modRyan Geary