Skip to content

Commit

Permalink
Small changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Iswenzz committed Oct 20, 2024
1 parent d082e24 commit 5d75ed9
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion GitTools/CLI/CLIParser.cs
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ public static void Parse(string[] args)
/// </summary>
/// <typeparam name="T">Class that implements ICommand interface.</typeparam>
/// <param name="options">The parsed options.</param>
private static void ParseAndExecute<T>(T options) where T : ICMD =>
private static void ParseAndExecute<T>(T options) where T : ICLI =>
options.Execute();
}
}
2 changes: 1 addition & 1 deletion GitTools/CLI/CopyCommits.cs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ namespace GitTools.CLI
/// Command to copy commits from one repository to another.
/// </summary>
[Verb("copycommits", HelpText = "Copy commits from one repository to another.")]
public class CopyCommits : ICMD
public class CopyCommits : ICLI
{
[Option('u', "user", Required = true, HelpText = "The user.")]
public string User { get; set; }
Expand Down
2 changes: 1 addition & 1 deletion GitTools/CLI/ICMD.cs → GitTools/CLI/ICLI.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
/// <summary>
/// Executable command interface.
/// </summary>
public interface ICMD
public interface ICLI
{
public void Execute();
}
Expand Down
2 changes: 1 addition & 1 deletion GitTools/CLI/MockCommit.cs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ namespace GitTools.CLI
/// Command to create a commit at a specific date.
/// </summary>
[Verb("commit", HelpText = "Create a commit at a specific date.")]
public class MockCommit : ICMD
public class MockCommit : ICLI
{
[Option('u', "user", Required = true, HelpText = "The user.")]
public string User { get; set; }
Expand Down
2 changes: 1 addition & 1 deletion GitTools/CLI/Options.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
/// <summary>
/// The program default CLI.
/// </summary>
public class Options : ICMD
public class Options : ICLI
{
public void Execute() { }
}
Expand Down

0 comments on commit 5d75ed9

Please sign in to comment.