refactor(cheddar): Switch to clap-rs for command line arguments

The complexity of the arg parsing is increasing somewhat because we're
adding more features to cheddar, so to set us up for that this
switches the arg parsing to the somewhat more flexible clap.

Change-Id: I187bc0c1b6c6bd596fa0f6bb494b04e335262ba9
Reviewed-on: https://cl.tvl.fyi/c/depot/+/445
Reviewed-by: lukegb <lukegb@tvl.fyi>
Reviewed-by: tazjin <mail@tazj.in>
This commit is contained in:
Vincent Ambo 2020-06-17 01:41:34 +01:00 committed by tazjin
parent 51594b0594
commit 5e5e02d6a7
3 changed files with 29 additions and 30 deletions

View file

@ -8,3 +8,4 @@ edition = "2018"
comrak = "0.7"
lazy_static = "1.4"
syntect = "4.2.0"
clap = "2.33"