Skip to content

Commit 0eb9f0f

Browse files
committed
first commit
0 parents  commit 0eb9f0f

35 files changed

+2398
-0
lines changed

.gitattributes

Lines changed: 63 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,63 @@
1+
###############################################################################
2+
# Set default behavior to automatically normalize line endings.
3+
###############################################################################
4+
* text=auto
5+
6+
###############################################################################
7+
# Set default behavior for command prompt diff.
8+
#
9+
# This is need for earlier builds of msysgit that does not have it on by
10+
# default for csharp files.
11+
# Note: This is only used by command line
12+
###############################################################################
13+
#*.cs diff=csharp
14+
15+
###############################################################################
16+
# Set the merge driver for project and solution files
17+
#
18+
# Merging from the command prompt will add diff markers to the files if there
19+
# are conflicts (Merging from VS is not affected by the settings below, in VS
20+
# the diff markers are never inserted). Diff markers may cause the following
21+
# file extensions to fail to load in VS. An alternative would be to treat
22+
# these files as binary and thus will always conflict and require user
23+
# intervention with every merge. To do so, just uncomment the entries below
24+
###############################################################################
25+
#*.sln merge=binary
26+
#*.csproj merge=binary
27+
#*.vbproj merge=binary
28+
#*.vcxproj merge=binary
29+
#*.vcproj merge=binary
30+
#*.dbproj merge=binary
31+
#*.fsproj merge=binary
32+
#*.lsproj merge=binary
33+
#*.wixproj merge=binary
34+
#*.modelproj merge=binary
35+
#*.sqlproj merge=binary
36+
#*.wwaproj merge=binary
37+
38+
###############################################################################
39+
# behavior for image files
40+
#
41+
# image files are treated as binary by default.
42+
###############################################################################
43+
#*.jpg binary
44+
#*.png binary
45+
#*.gif binary
46+
47+
###############################################################################
48+
# diff behavior for common document formats
49+
#
50+
# Convert binary document formats to text before diffing them. This feature
51+
# is only available from the command line. Turn it on by uncommenting the
52+
# entries below.
53+
###############################################################################
54+
#*.doc diff=astextplain
55+
#*.DOC diff=astextplain
56+
#*.docx diff=astextplain
57+
#*.DOCX diff=astextplain
58+
#*.dot diff=astextplain
59+
#*.DOT diff=astextplain
60+
#*.pdf diff=astextplain
61+
#*.PDF diff=astextplain
62+
#*.rtf diff=astextplain
63+
#*.RTF diff=astextplain

.gitignore

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
.vs/
2+
bin/
3+
obj/
4+
5+
*.user
6+
*.suo
7+
*.TMP
8+
9+
packages/
10+
*.nupkg
11+
ExternalLibraries/
12+
13+
CoverageReport/
14+
TestResults/
15+
/ConsoleTools/DemoPackages/

LICENSE

Lines changed: 675 additions & 0 deletions
Large diffs are not rendered by default.

README.md

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# Console Tools Arguments
2+
3+
A library to parse the command line arguments into a name-value pair list.
4+
5+
## Discussions and Suggestions
6+
7+
https://github.com/Console-Tools-NET/ConsoleTools.Arguments/discussions
8+
9+
I appreciate any opinion or suggestion:
10+
11+
- Did you feel the need for a specific feature?
12+
- Did you like or dislike something?
13+
- Do you have questions?
14+
- etc...
15+
16+
I'm looking forward to hearing from you.
17+
18+
# Donations
19+
20+
If you like my work and want to support me, you can buy me a coffee:
21+
22+
[![ko-fi](https://www.ko-fi.com/img/githubbutton_sm.svg)](https://ko-fi.com/Y8Y62EZ8H)
23+

doc/changelog.txt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
ConsoleTools Arguments
2+
====================================================================================================
3+
4+
v1.0.0
5+
----------------------------------------------------------------------------------------------------
6+
- Added `Arguments` class that parses the command line arguments.

doc/readme.txt

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
ConsoleTools Arguments 1.0.0
2+
====================================================================================================
3+
4+
A library for parsing the command line arguments and consume them as a list of name-value pair items.
5+
6+
7+
Note: For any bug or feature request please use the "Discussions" page in GitHub:
8+
- https://github.com/Console-Tools-NET/ConsoleTools.Arguments/discussions
9+
or add a new issue:
10+
- https://github.com/Console-Tools-NET/ConsoleTools.Arguments/issues/new

release/.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
temp/
2+
output/

release/ConsoleTools.Arguments.proj

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
<Project
2+
xmlns="http://schemas.microsoft.com/developer/msbuild/2003"
3+
DefaultTargets="Build">
4+
5+
<PropertyGroup>
6+
<OutputPath>output\</OutputPath>
7+
<TempPath>temp\</TempPath>
8+
<Version>1.0.0</Version>
9+
<OutputFileName>ConsoleTools.Arguments-$(Version).zip</OutputFileName>
10+
<RepositoryRoot>..\</RepositoryRoot>
11+
</PropertyGroup>
12+
13+
<Target Name="Build">
14+
15+
<!-- Build the solution. -->
16+
17+
<MSBuild
18+
Projects="..\sources\ConsoleTools.Arguments.sln"
19+
Properties="Configuration=Release;Platform=Any CPU;Version=$(Version)"/>
20+
21+
<!-- Copy the nuget package files. -->
22+
23+
<Copy
24+
SourceFiles="$(RepositoryRoot)\sources\ConsoleTools.Arguments\bin\Release\ConsoleTools.Arguments.$(Version).nupkg"
25+
DestinationFolder="$(OutputPath)" />
26+
27+
</Target>
28+
29+
<Target Name="PrepareForBuild" BeforeTargets="Build">
30+
<RemoveDir Directories="$(TempPath)" />
31+
<RemoveDir Directories="$(OutputPath)" />
32+
<Delete Files="$(OutputFileName)" />
33+
</Target>
34+
35+
<Target Name="FinalCleanup" AfterTargets="Build">
36+
<RemoveDir Directories="$(TempPath)" />
37+
</Target>
38+
39+
</Project>

release/README.md

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
# Console Tools Arguments - Release Procedure
2+
3+
## Before Starting
4+
5+
- Checkout the master branch.
6+
- Verify the content of the `doc\readme.txt` file.
7+
- Verify the content of the `doc\changelog.txt` file.
8+
- Verify the version to be consistent in all files:
9+
- `doc\readme.txt` file;
10+
- `doc\changelog.txt` file;
11+
- `sources\Directory.build.props` file;
12+
- `release\ConsoleTools.Commando.proj` file.
13+
14+
## Step 1 - Create the release
15+
16+
- Open a Developer Command Prompt for Visual Studio.
17+
- Run the `ConsoleTools.Arguments.proj` file:
18+
19+
```
20+
msbuild ConsoleTools.Arguments.proj
21+
```
22+
23+
The resulted files are located in the `output` directory.
24+
25+
## Step 2 - Increment version
26+
27+
Increment the version in all files:
28+
29+
- `doc\readme.txt` file;
30+
- `doc\changelog.txt` file;
31+
- `sources\Directory.build.props` file;
32+
- `release\ConsoleTools.Arguments.proj` file.

sources/.gitignore

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
.vs/
2+
bin/
3+
obj/
4+
5+
*.user
6+
*.suo
7+
*.TMP
8+
9+
packages/
10+
*.nupkg
11+
ExternalLibraries/
12+
13+
CoverageReport/
14+
TestResults/

0 commit comments

Comments
 (0)