Commit graph

59 commits

Author SHA1 Message Date
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
Orhun Parmaksız 4039c09f1a
feat(app): display the documentation references 2021-11-17 22:14:39 +03:00
Orhun Parmaksız 0a2a8fbedc
fix(docs): skip the unexisting variable descriptions 2021-11-15 22:14:49 +03:00
Orhun Parmaksız 2c0010e362
feat(args): add --explain argument for displaying documentation 2021-11-15 13:47:05 +03:00
Orhun Parmaksız ad024dc5c2
feat(sysctl): support changing the value of parameters 2021-11-10 19:50:08 +03:00
Orhun Parmaksız e4507feb5c
feat(sysctl): support displaying only the given parameters 2021-11-03 01:01:42 +03:00
Orhun Parmaksız 783320c276
feat(sysctl): print the parameters with their section colors 2021-10-31 16:26:27 +03:00
Orhun Parmaksız da334a9732
feat(sysctl): add -a flag for printing the parameters 2021-10-29 19:39:34 +03:00
Orhun Parmaksız da927e010f
feat(parser): parallelize the initial parsing 2021-10-29 19:16:06 +03:00
Orhun Parmaksız 354bc5dd77
feat(sysctl): parallelize the documentation updates 2021-10-29 13:02:56 +03:00
Orhun Parmaksız 8aca59a897
refactor(parser): use constants for kernel documentation parsers 2021-10-28 18:45:56 +03:00
Orhun Parmaksız f7a084260f
refactor(parser): make core module depend on parser 2021-10-28 01:31:20 +03:00
Orhun Parmaksız b95b0ebf06
refactor(sysctl): move section to sysctl module 2021-10-26 20:15:51 +03:00
Orhun Parmaksız 1efc8cf504
refactor(parser): use regular expressions instead of pest parser 2021-10-26 19:37:53 +03:00
Orhun Parmaksız 51e8777c5c
refactor(kernel): construct the path in-place for sysctl sections 2021-10-21 22:13:45 +03:00