-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #4 from dotnet-campus/t/lvyi/for-open-source
准备发布第一个版本(正式版)
- Loading branch information
Showing
3 changed files
with
60 additions
and
1 deletion.
There are no files selected for viewing
58 changes: 58 additions & 0 deletions
58
src/dotnetCampus.CommandLine/Properties/APIs/netcoreapp3.0/PublicAPI.Shipped.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
dotnetCampus.Cli.CommandLine | ||
dotnetCampus.Cli.CommandLine.As<T>() -> T | ||
dotnetCampus.Cli.CommandLine.As<T>(dotnetCampus.Cli.ICommandLineOptionParser<T> parser) -> T | ||
static dotnetCampus.Cli.CommandLine.Parse(string[] args, string protocolName = null) -> dotnetCampus.Cli.CommandLine | ||
dotnetCampus.Cli.CommandLineAttribute | ||
dotnetCampus.Cli.CommandLineHandlerBuilder | ||
dotnetCampus.Cli.CommandLineHandlerBuilder.AddHandler<TVerb>(System.Action<TVerb> handler, dotnetCampus.Cli.ICommandLineOptionParser<TVerb> parser = null) -> dotnetCampus.Cli.CommandLineHandlerBuilder | ||
dotnetCampus.Cli.CommandLineHandlerBuilder.AddHandler<TVerb>(System.Func<TVerb, int> handler, dotnetCampus.Cli.ICommandLineOptionParser<TVerb> parser = null) -> dotnetCampus.Cli.CommandLineHandlerBuilder | ||
dotnetCampus.Cli.CommandLineHandlerBuilder.AddHandler<TVerb>(System.Func<TVerb, System.Threading.Tasks.Task> handler, dotnetCampus.Cli.ICommandLineOptionParser<TVerb> parser = null) -> dotnetCampus.Cli.CommandLineAsyncHandlerBuilder | ||
dotnetCampus.Cli.CommandLineHandlerBuilder.AddHandler<TVerb>(System.Func<TVerb, System.Threading.Tasks.Task<int>> handler, dotnetCampus.Cli.ICommandLineOptionParser<TVerb> parser = null) -> dotnetCampus.Cli.CommandLineAsyncHandlerBuilder | ||
dotnetCampus.Cli.CommandLineHandlerBuilder.Run() -> int | ||
dotnetCampus.Cli.CommandLineAsyncHandlerBuilder | ||
dotnetCampus.Cli.CommandLineAsyncHandlerBuilder.AddHandler<TVerb>(System.Action<TVerb> handler, dotnetCampus.Cli.ICommandLineOptionParser<TVerb> parser = null) -> dotnetCampus.Cli.CommandLineAsyncHandlerBuilder | ||
dotnetCampus.Cli.CommandLineAsyncHandlerBuilder.AddHandler<TVerb>(System.Func<TVerb, int> handler, dotnetCampus.Cli.ICommandLineOptionParser<TVerb> parser = null) -> dotnetCampus.Cli.CommandLineAsyncHandlerBuilder | ||
dotnetCampus.Cli.CommandLineAsyncHandlerBuilder.AddHandler<TVerb>(System.Func<TVerb, System.Threading.Tasks.Task> handler, dotnetCampus.Cli.ICommandLineOptionParser<TVerb> parser = null) -> dotnetCampus.Cli.CommandLineAsyncHandlerBuilder | ||
dotnetCampus.Cli.CommandLineAsyncHandlerBuilder.AddHandler<TVerb>(System.Func<TVerb, System.Threading.Tasks.Task<int>> handler, dotnetCampus.Cli.ICommandLineOptionParser<TVerb> parser = null) -> dotnetCampus.Cli.CommandLineAsyncHandlerBuilder | ||
dotnetCampus.Cli.CommandLineAsyncHandlerBuilder.RunAsync() -> System.Threading.Tasks.Task<int> | ||
dotnetCampus.Cli.CommandLineHandlers | ||
static dotnetCampus.Cli.CommandLineHandlers.AddHandler<TVerb>(this dotnetCampus.Cli.CommandLine commandLine, System.Action<TVerb> handler, dotnetCampus.Cli.ICommandLineOptionParser<TVerb> parser = null) -> dotnetCampus.Cli.CommandLineHandlerBuilder | ||
static dotnetCampus.Cli.CommandLineHandlers.AddHandler<TVerb>(this dotnetCampus.Cli.CommandLine commandLine, System.Func<TVerb, int> handler, dotnetCampus.Cli.ICommandLineOptionParser<TVerb> parser = null) -> dotnetCampus.Cli.CommandLineHandlerBuilder | ||
static dotnetCampus.Cli.CommandLineHandlers.AddHandler<TVerb>(this dotnetCampus.Cli.CommandLine commandLine, System.Func<TVerb, System.Threading.Tasks.Task> handler, dotnetCampus.Cli.ICommandLineOptionParser<TVerb> parser = null) -> dotnetCampus.Cli.CommandLineAsyncHandlerBuilder | ||
static dotnetCampus.Cli.CommandLineHandlers.AddHandler<TVerb>(this dotnetCampus.Cli.CommandLine commandLine, System.Func<TVerb, System.Threading.Tasks.Task<int>> handler, dotnetCampus.Cli.ICommandLineOptionParser<TVerb> parser = null) -> dotnetCampus.Cli.CommandLineAsyncHandlerBuilder | ||
dotnetCampus.Cli.CommandLineOptionParser<T> | ||
dotnetCampus.Cli.CommandLineOptionParser<T>.CommandLineOptionParser() -> void | ||
dotnetCampus.Cli.CommandLineOptionParser<T>.Verb.get -> string | ||
dotnetCampus.Cli.CommandLineOptionParser<T>.Verb.set -> void | ||
dotnetCampus.Cli.CommandLineOptionParser<T>.AddMatch(int index, System.Action<string> action) -> void | ||
dotnetCampus.Cli.CommandLineOptionParser<T>.AddMatch(char shortName, System.Action<bool> action) -> void | ||
dotnetCampus.Cli.CommandLineOptionParser<T>.AddMatch(char shortName, System.Action<string> action) -> void | ||
dotnetCampus.Cli.CommandLineOptionParser<T>.AddMatch(char shortName, System.Action<System.Collections.Generic.IReadOnlyList<string>> action) -> void | ||
dotnetCampus.Cli.CommandLineOptionParser<T>.AddMatch(string longName, System.Action<bool> action) -> void | ||
dotnetCampus.Cli.CommandLineOptionParser<T>.AddMatch(string longName, System.Action<string> action) -> void | ||
dotnetCampus.Cli.CommandLineOptionParser<T>.AddMatch(string longName, System.Action<System.Collections.Generic.IReadOnlyList<string>> action) -> void | ||
dotnetCampus.Cli.CommandLineOptionParser<T>.AddMatch(char shortName, string longName, System.Action<bool> action) -> void | ||
dotnetCampus.Cli.CommandLineOptionParser<T>.AddMatch(char shortName, string longName, System.Action<string> action) -> void | ||
dotnetCampus.Cli.CommandLineOptionParser<T>.AddMatch(char shortName, string longName, System.Action<System.Collections.Generic.IReadOnlyList<string>> action) -> void | ||
dotnetCampus.Cli.CommandLineOptionParser<T>.SetResult(System.Func<T> commit) -> void | ||
dotnetCampus.Cli.ICommandLineOptionParser<T> | ||
dotnetCampus.Cli.ICommandLineOptionParser<T>.Verb.get -> string | ||
dotnetCampus.Cli.ICommandLineOptionParser<T>.SetValue(int index, string value) -> void | ||
dotnetCampus.Cli.ICommandLineOptionParser<T>.SetValue(char shortName, bool value) -> void | ||
dotnetCampus.Cli.ICommandLineOptionParser<T>.SetValue(char shortName, string value) -> void | ||
dotnetCampus.Cli.ICommandLineOptionParser<T>.SetValue(char shortName, System.Collections.Generic.IReadOnlyList<string> values) -> void | ||
dotnetCampus.Cli.ICommandLineOptionParser<T>.SetValue(string longName, bool value) -> void | ||
dotnetCampus.Cli.ICommandLineOptionParser<T>.SetValue(string longName, string value) -> void | ||
dotnetCampus.Cli.ICommandLineOptionParser<T>.SetValue(string longName, System.Collections.Generic.IReadOnlyList<string> values) -> void | ||
dotnetCampus.Cli.ICommandLineOptionParser<T>.Commit() -> T | ||
dotnetCampus.Cli.OptionAttribute | ||
dotnetCampus.Cli.OptionAttribute.OptionAttribute(string longName) -> void | ||
dotnetCampus.Cli.OptionAttribute.OptionAttribute(char shortName, string longName) -> void | ||
dotnetCampus.Cli.OptionAttribute.ShortName.get -> char? | ||
dotnetCampus.Cli.OptionAttribute.LongName.get -> string | ||
dotnetCampus.Cli.ValueAttribute | ||
dotnetCampus.Cli.ValueAttribute.ValueAttribute(int index) -> void | ||
dotnetCampus.Cli.ValueAttribute.Index.get -> int | ||
dotnetCampus.Cli.VerbAttribute | ||
dotnetCampus.Cli.VerbAttribute.VerbAttribute(string verbName) -> void | ||
dotnetCampus.Cli.VerbAttribute.VerbName.get -> string |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters