aboutsummaryrefslogtreecommitdiff
path: root/src/cli.rs
diff options
context:
space:
mode:
authorFuwn <[email protected]>2021-05-17 09:43:26 +0000
committerFuwn <[email protected]>2021-05-17 09:43:26 +0000
commit34101185feeebca00b4f142a9b13ff0d0e28531a (patch)
treeb341ddaed17fe05d001536d3d5ec03f8941c236d /src/cli.rs
parentperf(builtins): help commands to constants (diff)
downloadwhirl-34101185feeebca00b4f142a9b13ff0d0e28531a.tar.xz
whirl-34101185feeebca00b4f142a9b13ff0d0e28531a.zip
refactor(global): whirl_config modulized
The config module has now become it's own crate.
Diffstat (limited to 'src/cli.rs')
-rw-r--r--src/cli.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/cli.rs b/src/cli.rs
index 02a6e1e..6565845 100644
--- a/src/cli.rs
+++ b/src/cli.rs
@@ -2,8 +2,9 @@
// SPDX-License-Identifier: GPL-3.0-only
use structopt::clap::{App, AppSettings, Arg, ArgMatches, Shell, SubCommand};
+use whirl_config::Config;
-use crate::{config::Config, subs::run};
+use crate::subs::run;
pub struct Cli;
impl Cli {