diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..1ff0c42 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,63 @@ +############################################################################### +# Set default behavior to automatically normalize line endings. +############################################################################### +* text=auto + +############################################################################### +# Set default behavior for command prompt diff. +# +# This is need for earlier builds of msysgit that does not have it on by +# default for csharp files. +# Note: This is only used by command line +############################################################################### +#*.cs diff=csharp + +############################################################################### +# Set the merge driver for project and solution files +# +# Merging from the command prompt will add diff markers to the files if there +# are conflicts (Merging from VS is not affected by the settings below, in VS +# the diff markers are never inserted). Diff markers may cause the following +# file extensions to fail to load in VS. An alternative would be to treat +# these files as binary and thus will always conflict and require user +# intervention with every merge. To do so, just uncomment the entries below +############################################################################### +#*.sln merge=binary +#*.csproj merge=binary +#*.vbproj merge=binary +#*.vcxproj merge=binary +#*.vcproj merge=binary +#*.dbproj merge=binary +#*.fsproj merge=binary +#*.lsproj merge=binary +#*.wixproj merge=binary +#*.modelproj merge=binary +#*.sqlproj merge=binary +#*.wwaproj merge=binary + +############################################################################### +# behavior for image files +# +# image files are treated as binary by default. +############################################################################### +#*.jpg binary +#*.png binary +#*.gif binary + +############################################################################### +# diff behavior for common document formats +# +# Convert binary document formats to text before diffing them. This feature +# is only available from the command line. Turn it on by uncommenting the +# entries below. +############################################################################### +#*.doc diff=astextplain +#*.DOC diff=astextplain +#*.docx diff=astextplain +#*.DOCX diff=astextplain +#*.dot diff=astextplain +#*.DOT diff=astextplain +#*.pdf diff=astextplain +#*.PDF diff=astextplain +#*.rtf diff=astextplain +#*.RTF diff=astextplain diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..9998c3d --- /dev/null +++ b/.gitignore @@ -0,0 +1,34 @@ +# Common IntelliJ Platform excludes + +# User specific +**/.idea/**/workspace.xml +**/.idea/**/tasks.xml +**/.idea/shelf/* +**/.idea/dictionaries +**/.idea/httpRequests/ + +# Sensitive or high-churn files +**/.idea/**/dataSources/ +**/.idea/**/dataSources.ids +**/.idea/**/dataSources.xml +**/.idea/**/dataSources.local.xml +**/.idea/**/sqlDataSources.xml +**/.idea/**/dynamic.xml + +# Rider +# Rider auto-generates .iml files, and contentModel.xml +**/.idea/**/*.iml +**/.idea/**/contentModel.xml +**/.idea/**/modules.xml + +*.suo +*.user +.vs/ +[Bb]in/ +[Oo]bj/ +_UpgradeReport_Files/ +[Pp]ackages/ + +Thumbs.db +Desktop.ini +.DS_Store diff --git a/.idea/.idea.EthernaGatewayCli/.idea/.gitignore b/.idea/.idea.EthernaGatewayCli/.idea/.gitignore new file mode 100644 index 0000000..99dc0cd --- /dev/null +++ b/.idea/.idea.EthernaGatewayCli/.idea/.gitignore @@ -0,0 +1,13 @@ +# Default ignored files +/shelf/ +/workspace.xml +# Rider ignored files +/contentModel.xml +/.idea.EthernaGatewayCli.iml +/projectSettingsUpdater.xml +/modules.xml +# Editor-based HTTP Client requests +/httpRequests/ +# Datasource local storage ignored files +/dataSources/ +/dataSources.local.xml diff --git a/.idea/.idea.EthernaGatewayCli/.idea/.name b/.idea/.idea.EthernaGatewayCli/.idea/.name new file mode 100644 index 0000000..f77fa01 --- /dev/null +++ b/.idea/.idea.EthernaGatewayCli/.idea/.name @@ -0,0 +1 @@ +EthernaGatewayCli \ No newline at end of file diff --git a/.idea/.idea.EthernaGatewayCli/.idea/encodings.xml b/.idea/.idea.EthernaGatewayCli/.idea/encodings.xml new file mode 100644 index 0000000..df87cf9 --- /dev/null +++ b/.idea/.idea.EthernaGatewayCli/.idea/encodings.xml @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/.idea/.idea.EthernaGatewayCli/.idea/indexLayout.xml b/.idea/.idea.EthernaGatewayCli/.idea/indexLayout.xml new file mode 100644 index 0000000..7b08163 --- /dev/null +++ b/.idea/.idea.EthernaGatewayCli/.idea/indexLayout.xml @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/.idea/.idea.EthernaGatewayCli/.idea/vcs.xml b/.idea/.idea.EthernaGatewayCli/.idea/vcs.xml new file mode 100644 index 0000000..94a25f7 --- /dev/null +++ b/.idea/.idea.EthernaGatewayCli/.idea/vcs.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/EthernaGatewayCli.sln b/EthernaGatewayCli.sln new file mode 100644 index 0000000..1660173 --- /dev/null +++ b/EthernaGatewayCli.sln @@ -0,0 +1,21 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "EthernaGatewayCli", "src\EthernaGatewayCli\EthernaGatewayCli.csproj", "{F348B863-6892-45AD-AC33-3AD833A14BBB}" +EndProject +Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{D3B7E18B-46F8-4072-9D14-801FDB15868C}" + ProjectSection(SolutionItems) = preProject + README.md = README.md + EndProjectSection +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {F348B863-6892-45AD-AC33-3AD833A14BBB}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {F348B863-6892-45AD-AC33-3AD833A14BBB}.Debug|Any CPU.Build.0 = Debug|Any CPU + {F348B863-6892-45AD-AC33-3AD833A14BBB}.Release|Any CPU.ActiveCfg = Release|Any CPU + {F348B863-6892-45AD-AC33-3AD833A14BBB}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection +EndGlobal diff --git a/README.md b/README.md index ddf91bc..e93b7de 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,13 @@ -# etherna-gateway-cli +# Etherna Gateway CLI + +## Overview + A CLI interface to the Etherna Gateway + +## Issue reports + +If you've discovered a bug, or have an idea for a new feature, please report it to our issue manager based on Jira https://etherna.atlassian.net/projects/EGC. + +## Questions? Problems? + +For questions or problems please write an email to [info@etherna.io](mailto:info@etherna.io). diff --git a/src/EthernaGatewayCli/EthernaGatewayCli.csproj b/src/EthernaGatewayCli/EthernaGatewayCli.csproj new file mode 100644 index 0000000..2f4fc77 --- /dev/null +++ b/src/EthernaGatewayCli/EthernaGatewayCli.csproj @@ -0,0 +1,10 @@ + + + + Exe + net8.0 + enable + enable + + + diff --git a/src/EthernaGatewayCli/Program.cs b/src/EthernaGatewayCli/Program.cs new file mode 100644 index 0000000..989a6d2 --- /dev/null +++ b/src/EthernaGatewayCli/Program.cs @@ -0,0 +1,9 @@ +namespace EthernaGatewayCli; + +class Program +{ + static void Main(string[] args) + { + Console.WriteLine("Hello, World!"); + } +} \ No newline at end of file