Releases: Cysharp/ConsoleAppFramework
Releases · Cysharp/ConsoleAppFramework
Ver 3.1.0
Ver 3.0.0
Improvement
- New
CommandAppFilter
to hook event instead of Interceptor - New
ConsoleAppOptions
that can setStrictOption
,ShowDefaultCommand
,JsonSerializerOptions
andGlobalFilters
. Class.Method
routing toclass method
command (Class.Method
command also work for backward compatibility)
Breaking Changes
- Interceptor is removed, use
CommandAppFilter
instead. - JsonSerializerOptions get from ConsoleAppOptions
Ver 2.4.0
Ver 2.3.0
2.2.0
Changes
Improvements
#38, #39 Run/UseConsoleAppFramework accepts assemblies to search for types.
RunConsoleAppFramework
and UseConsoleAppFramework
methods accept assemblies to search for types. By default, ConsoleAppFramework searches types in the running application's assemblies. If you want to specify assemblies to search for types, you can pass the assemblies to the method parameter(Assembly[]? searchAssemblies = null
).
Ver 2.1.1
Ver 2.1.0
Changes
Fixes
- #32 Console app that contains a single command doesn't show the detail for help.
Breaking changes
help
and version
command is no longer supported if an app has only one command.
Use -help
or -version
option instead of those commands.
$ myapp -help
Usage: myapp
...
$ myapp -version
1.0.0
If an app provides one or more named commands, help
command is still available.
$ myapp help
Usage: myapp <Command>
Commands:
foo
bar
$ myapp help foo
Usage: myapp foo
...
Ver 2.0.2
Ver 2.0.1
Ver 2.0.0
- Application name has been changed, MicroBatchFramework -> ConsoleAppFramework
- removed
BatchHost
(use Host instead) BatchBase
->ConsoleAppBase
Use/RunBatchEngineAsync
->Use/RunConsoleAppFrameworkAsync
- remove
list
default command - default
help
command accepts-help
,--help
- add
version
default command that showsAssemblyInformationalVersion
orAssemblylVersion
- command
help
acceptshelp [command]
and[command] -help
- add
ReplaceToSimpleConsole
loggerBuilder extension