Commit Graph

30 Commits

Author SHA1 Message Date
Zahary Karadjov f091a70a5b
Handle changes in the serialization library 2021-03-19 04:01:44 +02:00
jangko f3a048f9ea config file integration into confutils 2020-11-02 16:17:51 +02:00
jangko 085d52d3ad fixes winreg Option[T] decoder 2020-10-29 13:52:31 +02:00
jangko 1e1ba43af2 separate public types and private utils 2020-10-29 13:52:31 +02:00
jangko 4304251b09 winreg encoder-decoder implementation 2020-10-29 13:52:31 +02:00
jangko 0df747294e initial winreg implementation 2020-10-29 13:52:31 +02:00
jangko b961fbe7b4 fixes envvar Option[T] decoder 2020-10-29 13:52:16 +02:00
jangko f4087c1789 fixes string encoding for envvar serialization 2020-10-29 13:52:16 +02:00
jangko a263d76bc0 envvar encoder decoder implementation 2020-10-29 13:52:16 +02:00
Zahary Karadjov 5d8d1ea648
0 is not a valid TCP/UDP port 2020-10-09 16:29:48 +03:00
Zahary Karadjov 5c81aab54d
Add a helper module for fuzzing CLI parsers 2020-10-01 22:04:53 +03:00
Zahary Karadjov 39456fa3d5
Hidden configuration fields (initial faux version) 2020-07-02 18:27:50 +03:00
Zahary Karadjov aac25d1610
Fix #18; Fix parsing of sub-commands with descriptions 2020-06-16 18:22:41 +03:00
Zahary Karadjov 26667818be
IpAddress -> ValidIpAddress 2020-06-05 17:09:05 +03:00
Zahary Karadjov 6f109184e3
$ op for the specialized Confutils types 2020-06-02 17:38:07 +03:00
Zahary Karadjov 24c73359b0
Add a helper module for handing IP addresses and ports 2020-03-16 23:47:48 +02:00
Zahary Karadjov 51df90466d
Renamed longform/shortform to name/abbr; Wire-up the version command 2019-11-11 14:42:08 +00:00
Zahary Karadjov 4ba6c64761
Remove warnings with Nim 1.0 2019-11-08 17:57:44 +00:00
Zahary Karadjov 6f5f030539
Fix #6 2019-11-08 16:28:04 +00:00
Zahary Karadjov d9e815fe67
Handle gracefully NimScript invocations with additional Nim settings such as --verbosity:x 2019-10-29 13:56:53 +02:00
Zahary Karadjov aa5ccdd57f
Restore compilation with nimscript; More colorful help output 2019-10-23 03:30:40 +03:00
Zahary Karadjov 937c09e204
Support for arbitrary sub-command nesting 2019-09-30 02:40:16 +03:00
LemonBoy 4c6846733d Handling paths is hard 2019-07-05 16:17:58 +03:00
LemonBoy 68e7691275 Add quoteWord proc 2019-07-05 16:17:58 +03:00
LemonBoy cef93bbd95 Initial support for command-line completion
Using the Bash protocol (COMP_LINE & COMP_POINT).
2019-07-05 16:17:58 +03:00
Zahary Karadjov 30309748a0 Some steps towards enabling the use of confutils in nimscript
So far, a show-stopped Nim bug was discovered:
https://github.com/nim-lang/Nim/issues/11502
2019-06-14 19:33:59 +03:00
Zahary Karadjov bec75f7cec Input validation for dir/file params; Typed input files
Also adds support for referencing the config object within the
`defaultValue` expressions.
2019-03-18 04:01:07 +02:00
Zahary Karadjov 3f20eba5a8 recognize some conf field types as optional by default 2018-12-19 14:51:00 +02:00
Zahary Karadjov 734368010d basic support for git-style interfaces 2018-12-19 12:52:32 +02:00
Zahary Karadjov d2e4e02c3b initial version 2018-11-21 15:26:48 +02:00