summaryrefslogtreecommitdiffstats
path: root/src/main.rs
diff options
context:
space:
mode:
authorAndrew Gallant <jamslam@gmail.com>2015-03-30 20:28:09 -0400
committerAndrew Gallant <jamslam@gmail.com>2015-03-30 20:28:09 -0400
commitcfc7e91a77aad7fb6029bc8555c3bc5c6bf5125c (patch)
tree7d494358582931ea629dc62e4f609b13c3d9edfb /src/main.rs
parent35bc7eb9a0b6b2bd1bc4599499c3d4a74587fd65 (diff)
Add input/output support for quoting.
Diffstat (limited to 'src/main.rs')
-rw-r--r--src/main.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/main.rs b/src/main.rs
index 6c48966..f6d43cc 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -53,6 +53,7 @@ macro_rules! command_list {
headers Show header names
help Show this usage message.
index Create CSV index for faster access
+ input Read CSV data with special quoting rules
join Join CSV files
sample Randomly sample CSV data
search Search CSV data with regexes
@@ -144,6 +145,7 @@ enum Command {
Headers,
Help,
Index,
+ Input,
Join,
Sample,
Search,
@@ -170,6 +172,7 @@ impl Command {
Command::Headers => cmd::headers::run(argv),
Command::Help => { wout!("{}", USAGE); Ok(()) }
Command::Index => cmd::index::run(argv),
+ Command::Input => cmd::input::run(argv),
Command::Join => cmd::join::run(argv),
Command::Sample => cmd::sample::run(argv),
Command::Search => cmd::search::run(argv),