Commit graph

73 commits

Author SHA1 Message Date
Orhun Parmaksız eb3ecce5d5
refactor(app): update the visibility of types in the core library 2022-01-10 01:33:53 +03:00
Orhun Parmaksız 7cc1bbfe6e
refactor(app): move cache handling to the core library 2022-01-10 01:32:55 +03:00
Orhun Parmaksız fab01ba691
feat(app): support displaying output in JSON format 2021-12-25 17:38:34 +03:00
Orhun Parmaksız 86f2be4fae
feat(sysctl): improve printing the multiline values 2021-12-25 16:43:15 +03:00
Orhun Parmaksız 905841aebd
feat(sysctl): improve the documentation updater 2021-12-25 01:49:44 +03:00
Orhun Parmaksız ea1be163d8
refactor(sysctl): define a constant for /proc/sys path 2021-12-20 17:03:28 +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 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 aeef248a69
test(sysctl): add tests for section module 2021-12-18 18:50:19 +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 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 e49155a503
feat(args): add --system flag for preloading from system directories 2021-12-15 17:22:36 +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 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 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 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 b9d55a2302
feat(args): add --pattern argument for matching parameters 2021-12-04 15:12:25 +03:00
Orhun Parmaksız 85010f8c64
feat(args): add --no-pager flag for disabling the pager 2021-12-03 18:04:00 +03:00
Orhun Parmaksız 6466152247
fix(cache): remove the parameter values from cache for security 2021-12-03 16:53:43 +03:00
Orhun Parmaksız ab747cbd37
feat(cache): use modification date for updating cache 2021-12-03 16:45:58 +03:00
Orhun Parmaksız 6bbf04a3c1
feat(app): add caching mechanism for kernel parameters 2021-12-03 00:09:39 +03:00
Orhun Parmaksız b8f871c8bd
feat(app): check for alternate locations for kernel documentation 2021-11-29 03:00:09 +03:00
Orhun Parmaksız f7f323d3af
feat(parser): add a mechanism for checking the existence of required files 2021-11-23 23:38:43 +03:00
Orhun Parmaksız 5f71f0510e
style(docs): display the documentation with its original title 2021-11-23 22:38:53 +03:00
Orhun Parmaksız ad7dfa48ed
style(lib): use a standard format for error messages 2021-11-22 20:54:14 +03:00
Orhun Parmaksız 7e0a1e0884
feat(app): support different display types for parameters 2021-11-22 17:00:04 +03:00
Orhun Parmaksız 6aa07aefc3
refactor(config): rename ColorConfig to AppConfig 2021-11-20 20:10:21 +03:00
Orhun Parmaksız c97854424f
feat(args): add -e flag for ignoring unknown variable errors 2021-11-20 19:26:34 +03:00
Orhun Parmaksız 4828a333b5
style(docs): create a certain format for the documentation 2021-11-18 00:38:52 +03:00