sharkdp
bb0a3d586e
Simplify public API module structure
2020-03-21 22:21:23 +01:00
sharkdp
84ba323b1c
Rename output component to 'style compinent', move wrap to separate module
2020-03-21 22:21:23 +01:00
sharkdp
9b8ddb24d1
move Config struct to separate file
2020-03-21 22:21:23 +01:00
Fahmi Akbar Wildana
a2ee753b25
Move config.rs into src/bin/bat/
2019-10-20 21:43:51 +02:00
Daniele Esposti
82f14121bd
Applied linter fixes
2019-03-09 07:43:41 +01:00
Daniele Esposti
a21ae614e6
Migrated to Rust 2018
2019-03-09 07:43:41 +01:00
Ricky
558134f6c8
Changed to unwrap methods, added integration tests
2018-11-04 11:19:49 +01:00
Ricky
1dd57e6d7e
Ran rust fmt
2018-11-04 11:19:49 +01:00
Ricky
20ba84d1fa
Added in environment variable and the result is a file check in config.rs
2018-11-04 11:19:49 +01:00
sharkdp
8dc7e2efa3
Add --config-file option
2018-10-17 23:08:37 +02:00
sharkdp
5bff4548be
Add BAT_OPTS environment variable
2018-10-16 22:09:15 +02:00
sharkdp
866b9e16a8
Add error handling
2018-10-16 22:09:15 +02:00
sharkdp
c19c704a43
Add more tests
2018-10-16 22:09:15 +02:00
sharkdp
693bd5929d
Add possibility for spaces on a single line
2018-10-16 22:09:15 +02:00
sharkdp
8275b0436d
Add simple configuration file
...
This allows users to create simple configuration file
(`~/.config/bat/config` on Linux) that has the following format:
```bash
--flag1
--flag2
--option1=value1
# lines beginning with '#' are ignored
--option2=value2
# empty lines and trailing whitespace are also ignored
--option3=value3
```
2018-10-16 22:09:15 +02:00