From 521b13211aac9e5f0c005bd0a1f804ec1e19b187 Mon Sep 17 00:00:00 2001 From: Teddy Wing Date: Sun, 11 Apr 2021 17:01:48 +0200 Subject: Get PDF file path from free command line argument Add 'getopts' to parse command line arguments. Replace `--fill` argument condition with 'getopts'. Replace the hard-coded PDF file path with one from the command line argument. --- Cargo.toml | 1 + 1 file changed, 1 insertion(+) (limited to 'Cargo.toml') diff --git a/Cargo.toml b/Cargo.toml index 3697c5d..af7c62b 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -5,6 +5,7 @@ edition = "2018" [dependencies] derive_builder = "0.10.0" +getopts = "0.2.21" pdf_forms = "0.3.4" serde = { version = "1.0.125", features = ["derive"] } toml = "0.5.8" -- cgit v1.2.3