Skip to content

Commit e117cf2

Browse files
Aymen TROUDIAymen TROUDI
authored andcommitted
Add ci.yml
1 parent 186f236 commit e117cf2

File tree

2 files changed

+8
-5
lines changed

2 files changed

+8
-5
lines changed

README.md

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,25 @@
1+
[![.NET](https://github.com/aimenux/SystemCommandLineDemo/actions/workflows/ci.yml/badge.svg)](https://github.com/aimenux/SystemCommandLineDemo/actions/workflows/ci.yml)
2+
13
# SystemCommandLineDemo
24
```
35
Exploring ways of using System.CommandLine to build CLI tools
46
```
57

6-
> In this repo, i m exploring various ways in order to build a simple cli tool based on [System.CommandLine](https://github.com/dotnet/command-line-api)
8+
In this repo, i m exploring various ways in order to build a simple cli tool based on [System.CommandLine](https://github.com/dotnet/command-line-api)
79
>
8-
> :one: a straightforward way
10+
> :one: straightforward way
911
> - pros : simplicity
1012
> - cons : verbosity
1113
>
12-
> :two: a fluent way
14+
> :two: fluent way
1315
> - pros : discoverability
1416
> - cons : encapsulation
1517
>
16-
> :three: a poco way
18+
> :three: poco way
1719
> - pros : encapsulation
1820
> - cons : performance (use of reflection)
1921
20-
> To run code in debug or release mode, type the following commands in your favorite terminal :
22+
To run code in debug or release mode, type the following commands in your favorite terminal :
2123
> - `.\Way.exe Upper [InputText]`
2224
> - `.\Way.exe Lower [InputText]`
2325
>

SystemCommandLineDemo.sln

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "03-Way", "03-Way\03-Way.csp
1111
EndProject
1212
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{CDECADFD-5157-4754-A3C2-E742372AA602}"
1313
ProjectSection(SolutionItems) = preProject
14+
.github\workflows\ci.yml = .github\workflows\ci.yml
1415
README.md = README.md
1516
EndProjectSection
1617
EndProject

0 commit comments

Comments
 (0)