Zahary Karadjov
|
d5bcca04da
|
Fix a test using obsolete pragmas
|
2020-03-24 17:31:05 +02:00 |
Zahary Karadjov
|
24c73359b0
|
Add a helper module for handing IP addresses and ports
|
2020-03-16 23:47:48 +02:00 |
Zahary Karadjov
|
f354a3ef61
|
Allow specifying a description for sub-commands
|
2020-03-10 13:38:29 +02:00 |
Zahary Karadjov
|
0bdfb3786c
|
Remove warnings with Nim 1.0
|
2019-12-02 23:31:29 +02:00 |
Zahary Karadjov
|
7a607bfd3d
|
Bugfix: help on errors was not produced for NimScript invocations
|
2019-11-12 12:07:29 +00:00 |
Zahary Karadjov
|
4e487bedf1
|
Tenative fix for yet another yearly binding problem
|
2019-11-12 00:33:20 +00:00 |
Zahary Karadjov
|
b42717a73a
|
More renames for consistency
|
2019-11-11 16:10:28 +00:00 |
Zahary Karadjov
|
4ad95ce154
|
Cosmetic improvements
|
2019-11-11 15:05:22 +00:00 |
Zahary Karadjov
|
9863f80e96
|
Rename variables to match the renamed pragmas
|
2019-11-11 15:00:18 +00: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
|
e1158fcbdd
|
Some simple improvements to the error messages
|
2019-11-08 17:49:44 +00:00 |
Zahary Karadjov
|
71643c9141
|
Clarify that all param types for cli/dispatch must be concrete
|
2019-11-08 16:52:13 +00:00 |
Zahary Karadjov
|
6f5f030539
|
Fix #6
|
2019-11-08 16:28:04 +00:00 |
Zahary Karadjov
|
31c9f9ae38
|
Fix #8
|
2019-11-08 15:55:25 +00:00 |
Zahary Karadjov
|
c9d823f217
|
Fix a build issue when confutils is used together with the memfiles module
|
2019-11-08 15:03:55 +00:00 |
Zahary Karadjov
|
0e42c65951
|
Bugfix: handle arguments to sub-commands properly
|
2019-10-31 19:58:49 +02: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
|
533a621d4a
|
Working 'argument' pragma
|
2019-10-28 21:20:19 +02:00 |
Zahary Karadjov
|
0129a56b78
|
Cosmetic improvements
|
2019-10-28 21:03:46 +02:00 |
Zahary Karadjov
|
adc63e8aff
|
Switch back to newLitFixed
|
2019-10-28 14:47:57 +02:00 |
Zahary Karadjov
|
aa5ccdd57f
|
Restore compilation with nimscript; More colorful help output
|
2019-10-23 03:30:40 +03:00 |
Zahary Karadjov
|
5cda9a1fa3
|
Remove the local typeof definition (no longer required with Nim 1.0)
|
2019-09-30 03:35:06 +03:00 |
Zahary Karadjov
|
937c09e204
|
Support for arbitrary sub-command nesting
|
2019-09-30 02:40:16 +03:00 |
Zahary Karadjov
|
6fb5ee6099
|
Tentative fix for the CI build issues in nim-beacon-chain
|
2019-07-09 14:43:31 +03:00 |
Zahary Karadjov
|
99869e4738
|
Fix the compilation issues with Nim 0.19.6
|
2019-07-08 18:09:08 +03:00 |
Jacek Sieka
|
9224d1feaf
|
std_shims -> stew
|
2019-07-07 11:41:15 +02:00 |
LemonBoy
|
2f95986115
|
Fix empty switches being shown in the help
|
2019-07-05 16:17:58 +03:00 |
LemonBoy
|
a34a29277d
|
More directory completion
|
2019-07-05 16:17:58 +03:00 |
LemonBoy
|
27e7831567
|
Straighten some logic
|
2019-07-05 16:17:58 +03:00 |
LemonBoy
|
4c6846733d
|
Handling paths is hard
|
2019-07-05 16:17:58 +03:00 |
LemonBoy
|
17246f6f69
|
Lies, lies & damn lies
|
2019-07-05 16:17:58 +03:00 |
LemonBoy
|
41eda1ac5b
|
Add trailing slash when completing directories
|
2019-07-05 16:17:58 +03:00 |
LemonBoy
|
4eed0d8695
|
Optimize style-insensitive prefix comparisons
|
2019-07-05 16:17:58 +03:00 |
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 |