22 Commits

Author SHA1 Message Date
LemonBoy
24a3d2b1d8 Completion for file/directories 2019-07-05 16:17:58 +03:00
LemonBoy
9d0f605e81 Completion for switches 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
14da5a0077
Move readPragma to std_shims 2019-07-03 02:31:36 +03:00
Zahary Karadjov
faca1407a5 Work around https://github.com/nim-lang/Nim/issues/11502 2019-06-14 19:51:40 +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
da24be1a9d
Add a helper for obtaining a default configuration 2019-06-10 22:42:42 +03:00
Zahary Karadjov
5ee45828fa Cosmetic tweaks to the help messages 2019-03-26 10:55:27 +02:00
Zahary Karadjov
510a883594 Recognize the options of the default command when it's not explicitly activated 2019-03-26 10:45:19 +02:00
Zahary Karadjov
7c0a19416e More comprehensive handling of default parameters when sub-commands are used 2019-03-26 01:18:02 +02: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
zah
531b403337
More formatting fixes for the README 2019-02-05 10:49:39 +01:00
zah
8712970180
Fix formatting in the README 2019-02-04 23:46:44 +01:00
Zahary Karadjov
707beaf3ed Add README 2019-02-04 23:19:53 +02:00
Zahary Karadjov
24416148f6 fix the handling of default values for enums 2019-01-23 22:20:25 +02:00
Zahary Karadjov
311cf156b8 Support for the confutils pragmas in the cli API.
This works around the fact that Nim doesn't support custom pragmas
for proc params at the moment by removing them from the AST.
2019-01-23 18:11:24 +02:00
Zahary Karadjov
62e53ff1c1 Produce basic help messages; Couple of new APIs for simpler CLI utilities 2019-01-23 13:49:10 +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
af24b62e80 Add support for int params 2018-11-22 23:15:50 +02:00
Zahary Karadjov
d2e4e02c3b initial version 2018-11-21 15:26:48 +02:00