-
-
Notifications
You must be signed in to change notification settings - Fork 27
/
Copy pathconfig.rs
30 lines (28 loc) · 929 Bytes
/
config.rs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
//! This module contains code for working with configuration and CLI arguments.
//!
//! `pls` supports customisation in two ways, through CLI arguments that change
//! the output per session and through `.pls.yml` YAML files that can go deeper
//! to tweak each individual string, change icons and add new node specs.
//! Together they make `pls` the most customisable file lister.
//!
//! For example, the CLI arg `--det` controls what metadata columns must be
//! shown in a given run, whereas the `.pls.yml` file can be used to change the
//! individual name for these columns.
//!
//! The public interface of the module consists of five structs:
//!
//! * [`AppConst`]
//! * [`Args`]
//! * [`Conf`]
//! * [`EntryConst`]
//! * [`ConfMan`]
mod app_const;
mod args;
mod conf;
mod entry_const;
mod man;
pub use app_const::AppConst;
pub use args::Args;
pub use conf::Conf;
pub use entry_const::EntryConst;
pub use man::ConfMan;