Skip to content

Commit

Permalink
Merge pull request #261 from nenoNaninu/f/improve_help
Browse files Browse the repository at this point in the history
improve help
  • Loading branch information
nenoNaninu authored Dec 1, 2024
2 parents 9c24230 + 5bdee09 commit 7bf3ca7
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/TypedSignalR.Client.TypeScript.Generator/App.cs
Original file line number Diff line number Diff line change
Expand Up @@ -25,21 +25,21 @@ public App(ILogger<App> logger)
}

public async Task Transpile(
[Option('p', Description = "Path to the project file (XXX.csproj)")]
[Option('p', Description = "Path to the project file (Xxx.csproj)")]
string project,
[Option('o', Description ="Output directory")]
string output,
[Option("eol", Description ="lf / crlf / cr")]
[Option("eol", Description ="End of line")]
NewLineOption newLine = NewLineOption.Lf,
[Option("asm", Description ="Flag whether to extend the transpile target to the referenced assembly.")]
bool assemblies = false,
[Option('s', Description ="JSON / MessagePack : The output type will be suitable for the selected serializer.")]
[Option('s', Description ="The output type will be suitable for the selected serializer.")]
SerializerOption serializer = SerializerOption.Json,
[Option('n', Description ="camelCase (default) / PascalCase / none (The name in C# is used as it is.)")]
[Option('n', Description ="Naming style. If none is selected, the C# name is used as it is.")]
NamingStyle namingStyle = NamingStyle.CamelCase,
[Option(Description ="value (default) / name / nameCamel / NamePascal / union / unionCamel / UnionPascal")]
[Option(Description ="Enum representation style")]
EnumStyle @enum = EnumStyle.Value,
[Option('m', Description = "camelCase (default) / PascalCase / none (The name in C# is used as it is.)")]
[Option('m', Description = "Method naming style. If none is selected, the C# name is used as it is.")]
MethodStyle method = MethodStyle.CamelCase,
[Option("attr", Description ="The flag whether attributes such as JsonPropertyName should affect transpilation.")]
bool attribute = true)
Expand Down

0 comments on commit 7bf3ca7

Please sign in to comment.