Releases: drizzle-team/brocli
Releases · drizzle-team/brocli
Global options
- Added global options that could be handled in 
hookofrun 
0.10.1
- Fixed default global help using outdated command description handler
 
0.10.0
- Massively improved default command help and global help
 - Fixed events sometimes not receiving 
cliName(nowname) param even if specified inrun()'s config - Reworked events: changed event naming (seemingly random -> snake_case), grouped all error events under 
error-type event - Added 
descriptiontorun()'s config - field to print to in global help by default, passed to events along withcliName(nowname) - Renamed 
cliNametonameinrun()'s config (role of it stays the same) 
0.9.2
- Added command list to 
unknownCommandEventtheme event 
0.9.1
- Fixed default positional enum error message
 
0.9.0
- Added short descriptions to commands
 - Added cli name for usage in themes
 - Added event-based themes
 - Added ability to not add handlers to command with subcommands (command help is called for command in such case)
 - Changed commands' 
metaInfotometadata, removed type restriction - Fixed test function incorrectly parsing some argument strings
 - Fixed 
.max()incorrectly comparing value with value provided by.min - Fixed number options getting parsed into strings
 - Fixed inconsistencies in default error messages
 - Fixed positional enums
 - Fixed enums excluding 
undefinedfrom type even when they're optional - Expanded tests
 - Updated docs
 
0.8.2
- Completely prevented 
command()function from mutating input object - Optimized command validation
 
0.8.1
- Improved command/subcommand cloning
 - Removed unnecessary logic
 
0.8.0
- Fixed clone-related crashes with subcommands
 - Now command assign parent to subcommands on creation
 - Added function to convert command collection into data about commands
 - Renamed 
runCli()torun() 
0.7.0
- Fixed logs in test function
 - Added global hooks to trigger before\after transform & handler