Improvements
Improvements
2bd0058
Add[]
syntax for command tags, exposed asCommand.tags
.686e261
Add\x
escape sequence for hex bytes.0b62d19
Add\u{}
escape sequence for Unicode characters.a096929
Allow empty commands, keys, and prefixes.
Bug Fixes
9a824ad
Fix spurious prefix emission with blank lines or empty output.
Improvements
4fad99e
AddRunner.start_command()
andend_command()
hooks.
Breaking changes
92ca419
RemoveCommand.pos_args()
andkey_args()
, useconsume_args()
.1b54d07
ReturnErrorKind::Other
fromrun()
on command failure.
Improvements
bc9c253
Add!
syntax to expect command failures (panics or errors).ae78f9e
AddCommand.consume_args()
for convenient argument handling.6e8c185
Allow@
in unquoted strings.
Breaking changes
44df27d
ReturnBox<dyn Error>
fromArgument.parse()
, likeRunner
.
Improvements
eb25a24
AddCommand.pos_args()
andkey_args()
for filtering argument types.f4bcae6
AddArgument.name()
to identify arguments.5ff556d
ImplementClone
forCommand
andArgument
.
Breaking changes
3ce4590
UseBox<dyn Error>
forRunner
methods.fe62af3
Default to "ok" for command blocks that don't yield any output.c98db05
MarkCommand
andArgument
asnon_exhaustive
, to allow extending them.
Improvements
51c34d9
Relax dependency version requirements.f911c66
Addgenerate()
to generate output for a goldenscript input.5f49b9d
AddArgument.parse()
to parse values into e.g. integers or booleans.cc0936f
AddCommand.line_number
with the command's position in the script.cc0936f
AddRunner
error context such as the command or hook name and line number.456ae1b
Make parse errors more concise.
Initial release.