Skip to content

Commit

Permalink
Merge pull request #79 from jczaja/windows-wildcards
Browse files Browse the repository at this point in the history
✨ Windows wildcards
  • Loading branch information
jczaja authored Oct 11, 2023
2 parents ac6a8af + 50a523d commit 111665b
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/building.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:

build_windows:
name: etradeTaxReturnHelper windows artifacts publish
runs-on: windows-2019
runs-on: windows-latest
strategy:
matrix:
toolchain:
Expand Down
10 changes: 10 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,4 @@ log = "0.4.0"
clap = "~2.27.0"
regex = "1.3.3"
calamine = "0.18.0"
wild = "2.2.0"
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Project that parse e-trade PDF brokerage statements and Gain and Losses document

### FAQ
1. How to install this project?
1. For Windows OS you can download binary (zip archive holding executable) from [releases](https://github.com/jczaja/e-trade-tax-return-pl-helper/releases) webpage. Place executable in the same directory as desired e-trade documents. Open Windows PowerShell and type `etradeTaxReturnHelper.exe (dir * -n | findstr /i /r "\.pdf$ \.xlsx$")`
1. For Windows OS you can download binary (zip archive holding executable) from [releases](https://github.com/jczaja/e-trade-tax-return-pl-helper/releases) webpage. Place executable in the same directory as desired e-trade documents. Open Windows PowerShell and type `etradeTaxReturnHelper.exe *.pdf *.xlsx`

2. For Linux you need Rust and Cargo installed and then you can install this project (crate):
`cargo install etradeTaxReturnHelper`
Expand Down
2 changes: 1 addition & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ fn main() {

let myapp = App::new("etradeTaxHelper ".to_string() + VERSION)
.setting(AppSettings::ArgRequiredElseHelp);
let matches = create_cmd_line_pattern(myapp).get_matches();
let matches = create_cmd_line_pattern(myapp).get_matches_from(wild::args());

log::info!("Started etradeTaxHelper");

Expand Down

0 comments on commit 111665b

Please sign in to comment.