Skip to content

Releases: Cysharp/ConsoleAppFramework

Ver 2.1.0

14 Feb 09:36
36e78db
Compare
Choose a tag to compare

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

27 Jan 14:58
Compare
Choose a tag to compare

Fix help option when no argument passed.

Ver 2.0.1

14 Jan 03:39
c5eac8a
Compare
Choose a tag to compare

OperationCanceledException by user code should not be handled. #30

Ver 2.0.0

14 Jan 03:39
2bb735e
Compare
Choose a tag to compare
  • 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 shows AssemblyInformationalVersion or AssemblylVersion
  • command help accepts help [command] and [command] -help
  • add ReplaceToSimpleConsole loggerBuilder extension

Ver 1.7.1

01 Jan 17:19
Compare
Choose a tag to compare

or , as a split word in array argument.

> SampleApp.exe -array "11 22 33"
> SampleApp.exe -array "11,22,33"
> SampleApp.exe -array "[11,22,33]"

Ver 1.7.0

01 Jan 16:50
4dfb120
Compare
Choose a tag to compare
  • using System.Text.Json instead of Utf8Json, Newtonsoft.Json.
  • Array argument handling more friendly. (e.g. int[] can handle by 1 2 3, string[] can handle by foo bar baz).

Ver 1.6.1

08 Nov 10:17
55c982f
Compare
Choose a tag to compare

Improvement: More enable Nullable Reference Type #25, thanks @nogic1008
Fix: Does not work help command at special cases in .NET 4.7.2 #26, thanks @KageShiron

Ver 1.6.0

25 Oct 08:55
Compare
Choose a tag to compare

Enables DI Scope #21 #23, thanks @takutoy, @mayuki
Don't use logger filter #24, thanks @mayuki
Internally, codes has been enabled Nullable Reference Type #20, thanks @nogic1008

Ver 1.5.0

04 Oct 07:25
8262211
Compare
Choose a tag to compare
  • Fix typo NullBatchInerceptor to NullBatchInterceptor #18, thanks @masfj
  • Treat the return value as the exit code. #19, thanks @mayuki

Ver 1.4.0

03 Oct 03:56
4b29a5a
Compare
Choose a tag to compare

Upgrade Microsoft.Extensions.Hosting and .NET Core #16

  • MicroBatchFramework is still using .NET Standard 2.0
  • MicroBatchFramework.WebHosting is now using ASP.NET Core 3.0