Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
calacayir committed Feb 15, 2024
1 parent 2aedfda commit 4e220e3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,10 +50,10 @@ In `Program.cs`, add this simple code:
using System;
using DotMake.CommandLine;

Cli.Run(([CliArgument]string argument1, bool option1) =>
Cli.Run(([CliArgument]string arg1, bool opt1) =>
{
Console.WriteLine($@"Value for {nameof(argument1)} parameter is '{argument1}'");
Console.WriteLine($@"Value for {nameof(option1)} parameter is '{option1}'");
Console.WriteLine($@"Value for {nameof(arg1)} parameter is '{arg1}'");
Console.WriteLine($@"Value for {nameof(opt1)} parameter is '{opt1}'");
});
```
And that's it! You now have a fully working command-line app:
Expand Down

0 comments on commit 4e220e3

Please sign in to comment.