Skip to content

Commit

Permalink
renmae cmds to cli
Browse files Browse the repository at this point in the history
  • Loading branch information
0xor1 committed Aug 4, 2024
1 parent 447a394 commit 69f7e0e
Show file tree
Hide file tree
Showing 14 changed files with 31 additions and 31 deletions.
10 changes: 5 additions & 5 deletions Common.Cmds/Api.cs → Common.Cli/Api.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,15 @@
using YamlDotNet.Serialization;
using YamlDotNet.Serialization.NamingConventions;

namespace Common.Cmds;
namespace Common.Cli;

public class Api
{
private const string ApiFile =
"""
// Generated Code File, Do Not Edit.
// This file is generated with Common.Cmds.
// see https://github.com/0xor1/common/blob/main/Common.Cmds/Api.cs
// This file is generated with Common.Cli.
// see https://github.com/0xor1/common/blob/main/Common.Cli/Api.cs
// executed with arguments: api {{YmlDirPath}}
using Common.Shared;
Expand Down Expand Up @@ -49,8 +49,8 @@ public Api(IRpcClient client)
private const string SectionFile =
"""
// Generated Code File, Do Not Edit.
// This file is generated with Common.Cmds.
// see https://github.com/0xor1/common/blob/main/Common.Cmds/Api.cs
// This file is generated with Common.Cli.
// see https://github.com/0xor1/common/blob/main/Common.Cli/Api.cs
// executed with arguments: api {{YmlDirPath}}
#nullable enable
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<TargetFramework>net8.0</TargetFramework>
<Nullable>enable</Nullable>
<ImplicitUsings>enable</ImplicitUsings>
<PackageId>0xor1.Common.Cmds</PackageId>
<PackageId>0xor1.Common.Cli</PackageId>
<Version>5.0.0</Version>
<Authors>Daniel Robinson</Authors>
<Company>Personal</Company>
Expand Down
2 changes: 1 addition & 1 deletion Common.Cmds/Dnsk.cs → Common.Cli/Dnsk.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
using Common.Shared;
using Microsoft.Extensions.Logging;

namespace Common.Cmds;
namespace Common.Cli;

public class Dnsk
{
Expand Down
14 changes: 7 additions & 7 deletions Common.Cmds/I18n.cs → Common.Cli/I18n.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@
using CsvHelper;
using Fluid;

namespace Common.Cmds;
namespace Common.Cli;

public class I18n
{
private const string KeysFile =
"""
// Generated Code File, Do Not Edit.
// This file is generated with Common.Cmds.
// see https://github.com/0xor1/common/blob/main/Common.Cmds/I18n.cs
// This file is generated with Common.Cli.
// see https://github.com/0xor1/common/blob/main/Common.Cli/I18n.cs
// executed with arguments: i18n {{CsvDirPath}} {{Namespace}} {{ReadOnly}} {{Prefix}}
namespace {{Namespace}};
Expand All @@ -26,8 +26,8 @@ public static partial class S
private const string LangFile =
"""
// Generated Code File, Do Not Edit.
// This file is generated with Common.Cmds.
// see https://github.com/0xor1/common/blob/main/Common.Cmds/I18n.cs
// This file is generated with Common.Cli.
// see https://github.com/0xor1/common/blob/main/Common.Cli/I18n.cs
// executed with arguments: i18n {{CsvDirPath}} {{Namespace}} {{ReadOnly}} {{Prefix}}
using Common.Shared;
Expand All @@ -46,8 +46,8 @@ public static partial class S
private const string ZLibraryFile =
"""
// Generated Code File, Do Not Edit.
// This file is generated with Common.Cmds.
// see https://github.com/0xor1/common/blob/main/Common.Cmds/I18n.cs
// This file is generated with Common.Cli.
// see https://github.com/0xor1/common/blob/main/Common.Cli/I18n.cs
// executed with arguments: i18n {{CsvDirPath}} {{Namespace}} {{ReadOnly}} {{Prefix}}
using Common.Shared;
Expand Down
2 changes: 1 addition & 1 deletion Common.Cmds/Program.cs → Common.Cli/Program.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
using Cocona;
using Common.Cmds;
using Common.Cli;
using Microsoft.Extensions.DependencyInjection;

var builder = CoconaApp.CreateBuilder();
Expand Down
4 changes: 2 additions & 2 deletions Common.Shared/I18n/Keys.g.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Generated Code File, Do Not Edit.
// This file is generated with Common.Cmds.
// see https://github.com/0xor1/common/blob/main/Common.Cmds/I18n.cs
// This file is generated with Common.Cli.
// see https://github.com/0xor1/common/blob/main/Common.Cli/I18n.cs
// executed with arguments: i18n <abs_file_path_to>/I18n Common.Shared.I18n true cmn_

namespace Common.Shared.I18n;
Expand Down
4 changes: 2 additions & 2 deletions Common.Shared/I18n/SDE.g.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Generated Code File, Do Not Edit.
// This file is generated with Common.Cmds.
// see https://github.com/0xor1/common/blob/main/Common.Cmds/I18n.cs
// This file is generated with Common.Cli.
// see https://github.com/0xor1/common/blob/main/Common.Cli/I18n.cs
// executed with arguments: i18n <abs_file_path_to>/I18n Common.Shared.I18n true cmn_

using Common.Shared;
Expand Down
4 changes: 2 additions & 2 deletions Common.Shared/I18n/SEN.g.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Generated Code File, Do Not Edit.
// This file is generated with Common.Cmds.
// see https://github.com/0xor1/common/blob/main/Common.Cmds/I18n.cs
// This file is generated with Common.Cli.
// see https://github.com/0xor1/common/blob/main/Common.Cli/I18n.cs
// executed with arguments: i18n <abs_file_path_to>/I18n Common.Shared.I18n true cmn_

using Common.Shared;
Expand Down
4 changes: 2 additions & 2 deletions Common.Shared/I18n/SES.g.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Generated Code File, Do Not Edit.
// This file is generated with Common.Cmds.
// see https://github.com/0xor1/common/blob/main/Common.Cmds/I18n.cs
// This file is generated with Common.Cli.
// see https://github.com/0xor1/common/blob/main/Common.Cli/I18n.cs
// executed with arguments: i18n <abs_file_path_to>/I18n Common.Shared.I18n true cmn_

using Common.Shared;
Expand Down
4 changes: 2 additions & 2 deletions Common.Shared/I18n/SFR.g.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Generated Code File, Do Not Edit.
// This file is generated with Common.Cmds.
// see https://github.com/0xor1/common/blob/main/Common.Cmds/I18n.cs
// This file is generated with Common.Cli.
// see https://github.com/0xor1/common/blob/main/Common.Cli/I18n.cs
// executed with arguments: i18n <abs_file_path_to>/I18n Common.Shared.I18n true cmn_

using Common.Shared;
Expand Down
4 changes: 2 additions & 2 deletions Common.Shared/I18n/SIT.g.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Generated Code File, Do Not Edit.
// This file is generated with Common.Cmds.
// see https://github.com/0xor1/common/blob/main/Common.Cmds/I18n.cs
// This file is generated with Common.Cli.
// see https://github.com/0xor1/common/blob/main/Common.Cli/I18n.cs
// executed with arguments: i18n <abs_file_path_to>/I18n Common.Shared.I18n true cmn_

using Common.Shared;
Expand Down
4 changes: 2 additions & 2 deletions Common.Shared/I18n/SZLibrary.g.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Generated Code File, Do Not Edit.
// This file is generated with Common.Cmds.
// see https://github.com/0xor1/common/blob/main/Common.Cmds/I18n.cs
// This file is generated with Common.Cli.
// see https://github.com/0xor1/common/blob/main/Common.Cli/I18n.cs
// executed with arguments: i18n <abs_file_path_to>/I18n Common.Shared.I18n true cmn_

using Common.Shared;
Expand Down
2 changes: 1 addition & 1 deletion Common.Shared/dotnet-tools.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"version": 1,
"isRoot": true,
"tools": {
"0xor1.common.cmds": {
"0xor1.common.cli": {
"version": "5.0.0",
"commands": [
"dotnet-common-cmds"
Expand Down
2 changes: 1 addition & 1 deletion Common.sln
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Common.Shared.Test", "Commo
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Common.Server.Test", "Common.Server.Test\Common.Server.Test.csproj", "{D82A6ABE-4D27-4BF5-AC6B-02EAEACC0E49}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Common.Cmds", "Common.Cmds\Common.Cmds.csproj", "{24726078-E657-4349-B3FE-0A5A51CB4ACE}"
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Common.Cli", "Common.Cli\Common.Cli.csproj", "{24726078-E657-4349-B3FE-0A5A51CB4ACE}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Expand Down

0 comments on commit 69f7e0e

Please sign in to comment.