diff options
| author | Teddy Wing | 2018-10-05 18:18:55 +0200 |
|---|---|---|
| committer | Teddy Wing | 2018-10-05 18:18:55 +0200 |
| commit | 42fa76b3472c2dae8fd6db6649058e54e9f67003 (patch) | |
| tree | c29053ef205e0497213a1b2c182ee41c6169e1ba /src/lib.rs | |
| parent | 9a36a0c9a7144e1450fd76afed2f67f4fa3e9b1e (diff) | |
| download | dome-key-map-42fa76b3472c2dae8fd6db6649058e54e9f67003.tar.bz2 | |
Add a command line option parser
Parse command line options in this library. Need to figure out how to
communicate these over FFI to the Objective-C code.
Diffstat (limited to 'src/lib.rs')
| -rw-r--r-- | src/lib.rs | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -5,6 +5,7 @@ extern crate autopilot; #[macro_use] extern crate combine; +extern crate getopts; extern crate libc; #[macro_use] @@ -13,8 +14,10 @@ extern crate stderrlog; extern crate xdg; mod cocoa_bridge; +mod config; mod parser; use parser::{Action, HeadphoneButton, MapAction, MapGroup, MapKind}; pub use cocoa_bridge::*; +pub use config::{Config, parse_args}; |
