Commit Graph

580 Commits

Author SHA1 Message Date
Orhun Parmaksız
bf990f9cda
fix(app): skip comments and empty lines while preloading 2021-12-20 16:55:29 +03:00
Orhun Parmaksız
a2bba17e9a
test(app): add tests for app module 2021-12-19 22:45:49 +03:00
Orhun Parmaksız
13faab0d91
style(config): change the color for unknown sections 2021-12-19 22:17:54 +03:00
Orhun Parmaksız
9315d2df82
refactor(sysctl): check path components for determining 'net' section 2021-12-19 22:15:22 +03:00
Orhun Parmaksız
f0b58bcf21
fix(parser): filter out empty file names while checking 2021-12-18 23:53:59 +03:00
Orhun Parmaksız
90fb9d504c
fix(args): use eprintln for printing error messages in args module 2021-12-18 23:46:57 +03:00
Orhun Parmaksız
0b6f512753
chore(ci): cache cargo dependencies for test job 2021-12-18 23:45:58 +03:00
Orhun Parmaksız
d3b0229124
test(args): add tests to args module 2021-12-18 23:38:25 +03:00
Orhun Parmaksız
bb98de15cf
test(sysctl): extend controller tests 2021-12-18 21:38:49 +03:00
Orhun Parmaksız
39774c5d2a
feat(sysctl): improve the documentation parser presets 2021-12-18 19:31:11 +03:00
Orhun Parmaksız
8ebb588b58
feat(parser): support multiple glob patterns 2021-12-18 19:29:31 +03:00
Orhun Parmaksız
3c6fb58a41
feat(parser): add support for reading GZIP files 2021-12-18 19:24:46 +03:00
Orhun Parmaksız
aeef248a69
test(sysctl): add tests for section module 2021-12-18 18:50:19 +03:00
Orhun Parmaksız
5fcbf2ca1c
fix(args): remove conflicting short arguments 2021-12-18 15:48:02 +03:00
Orhun Parmaksız
41dabbf217
test(sysctl): add tests for the controller module 2021-12-18 15:18:10 +03:00
Orhun Parmaksız
53a6b0ecbf
test(sysctl): extend parameter tests about display types 2021-12-18 15:08:46 +03:00
Orhun Parmaksız
2d744498f4
test(sysctl): add tests for the parameter module 2021-12-18 15:00:26 +03:00
Orhun Parmaksız
5a729d8acb
test(tree): add output test for tree format 2021-12-18 14:28:57 +03:00
Orhun Parmaksız
251327519b
refactor(app): rename the preloader function 2021-12-18 14:15:31 +03:00
Orhun Parmaksız
c803fe4476
refactor(app): use consistent naming for getter functions 2021-12-18 14:12:07 +03:00
Orhun Parmaksız
86b7390ecb
refactor(app): use generic type for application output 2021-12-18 14:04:09 +03:00
Orhun Parmaksız
d26bbf6093
feat(app): support tree format for all cases 2021-12-17 21:04:11 +03:00
Orhun Parmaksız
3f0286fb59
fix(tests): disable colors for tree output tests 2021-12-17 13:32:18 +03:00
Orhun Parmaksız
1f71a6d085
style(app): support colors for the tree output 2021-12-17 02:52:03 +03:00
Orhun Parmaksız
21db751458
refactor(config): remove no_color field 2021-12-17 02:40:54 +03:00
Orhun Parmaksız
5ce0fde69b
fix(app): manually construct output tree to avoid separator conflict 2021-12-17 02:06:45 +03:00
Orhun Parmaksız
457cedc40f
feat(args): add --tree flag for displaying in tree format 2021-12-16 23:30:10 +03:00
Orhun Parmaksız
fb5616f196
refactor(project): use consistent naming for kernel parameters 2021-12-15 17:32:16 +03:00
Orhun Parmaksız
56a8f40203
feat(args): add ineffective arguments for BSD compatibility 2021-12-15 17:27:29 +03:00
Orhun Parmaksız
e49155a503
feat(args): add --system flag for preloading from system directories 2021-12-15 17:22:36 +03:00
Orhun Parmaksız
5a4933fcbd
feat(args): add --write flag for only enabling the write mode 2021-12-15 13:15:44 +03:00
Orhun Parmaksız
7d3ac997d2
fix(sysctl): disable setting values for deprecated variables 2021-12-15 13:05:29 +03:00
Orhun Parmaksız
c98e427d2c
fix(lint): apply clippy suggestions 2021-12-13 01:54:28 +03:00
Orhun Parmaksız
aa78731b3f
feat(args): add --deprecated flag for including deprecated variables 2021-12-13 01:50:41 +03:00
Orhun Parmaksız
24154ef31f
style(args): update the help message about --load argument 2021-12-13 01:18:55 +03:00
Orhun Parmaksız
a4c383d7f2
feat(args): support using regex-search as default 2021-12-11 22:17:38 +03:00
Orhun Parmaksız
cbb077d407
style(args): use more clear help messages for arguments 2021-12-11 22:12:23 +03:00
Orhun Parmaksız
40ec7ba14d
feat(docs): support displaying multiple docs with extensible search 2021-12-11 02:42:42 +03:00
Orhun Parmaksız
fcc3d32fd6
refactor(config): merge discrete configs into one struct 2021-12-11 02:18:29 +03:00
Orhun Parmaksız
ab8617fe28
style(args): add hidden aliases for arguments 2021-12-10 02:00:14 +03:00
Orhun Parmaksız
a56d562f3d
feat(args): add --load argument for preloading values 2021-12-09 22:16:59 +03:00
Orhun Parmaksız
762c25a84d
feat(args): add --quiet flag for not displaying variables after set 2021-12-07 20:22:21 +03:00
Orhun Parmaksız
082af7b458
feat(sysctl): support using more flexible queries for variables 2021-12-07 19:48:53 +03:00
Orhun Parmaksız
830535a170
feat(args): add --verbose flag for logging verbosity 2021-12-07 18:26:15 +03:00
Orhun Parmaksız
6e2709c332
fix(sysctl): allow slash character in parameter names 2021-12-07 13:11:23 +03:00
Orhun Parmaksız
2801d76aed
chore(ci): run tests and upload reports to codecov 2021-12-05 21:18:31 +03:00
Orhun Parmaksız
9c1cdaa188
refactor(sysctl): split sysctl implementation into modules 2021-12-04 23:47:36 +03:00
Orhun Parmaksız
41ca625e99
test(cache): add tests for cache module 2021-12-04 23:25:24 +03:00
Orhun Parmaksız
cf151b4108
style(args): use a different message in the case of missing params 2021-12-04 16:48:06 +03:00
Orhun Parmaksız
b9d55a2302
feat(args): add --pattern argument for matching parameters 2021-12-04 15:12:25 +03:00