README.md in netprint-0.1.1 vs README.md in netprint-0.2.0
- old
+ new
@@ -45,9 +45,24 @@
:secret_code => '1234',
:email => 'foo@example.com'
})
```
+### CLI
+
+```
+$ netprint --help
+Usage:
+ netprint [--user=<userid:password>] [--email=<email>] [--secret=<secret>] <filename>
+ netprint -h | --help
+
+Options:
+ -h --help Show this screen.
+ -v --version Show version information.
+ -u --user=<userid:password> User account. If not specified, ENV['NETPRINT_(USERID|PASSWORD)'] is used.
+ -e --email=<email> Email address to notify. If not specified, ENV['NETPRINT_EMAIL'] is used.
+ -s --secret=<secret> Secret code.
+```
## Contributing
1. Fork it
2. Create your feature branch (`git checkout -b my-new-feature`)