aboutsummaryrefslogtreecommitdiffstats
path: root/license-generator/src/main.rs
diff options
context:
space:
mode:
Diffstat (limited to 'license-generator/src/main.rs')
-rw-r--r--license-generator/src/main.rs5
1 files changed, 5 insertions, 0 deletions
diff --git a/license-generator/src/main.rs b/license-generator/src/main.rs
index d428af4..43a9d77 100644
--- a/license-generator/src/main.rs
+++ b/license-generator/src/main.rs
@@ -15,6 +15,7 @@ use simplelog::{Config, LevelFilter, WriteLogger};
use license_generator::database;
use license_generator::errors::*;
+use license_generator::params;
use license_generator::purchaser::Purchaser;
fn main() -> Result<()> {
@@ -61,6 +62,10 @@ fn main() -> Result<()> {
write!(&mut req.stdout(), "\n\nstdin: {}\n", stdin)
.unwrap_or(());
+
+ let p = params::parse(&stdin);
+ write!(&mut req.stdout(), "\n{:?}\n", p)
+ .unwrap_or(());
});
Ok(())