Skip to content

Commit df3b994

Browse files
format some stuff
1 parent 510e04b commit df3b994

39 files changed

Lines changed: 149 additions & 109 deletions

DataFormatter/FormatterApiFacade.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,8 @@ public static void WriteCsvWithLayers(string file, char sep, List<List<string>>
6868
/// </summary>
6969
/// <param name="path">The path.</param>
7070
/// <param name="content">The content.</param>
71-
public static async Task WriteFile(string path, IEnumerable<string> content) => await ReadText.WriteFile(path, content);
71+
public static async Task WriteFile(string path, IEnumerable<string> content) =>
72+
await ReadText.WriteFile(path, content);
7273

7374
/// <summary>
7475
/// Reads the object.

Lector/SampleExtension.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,8 @@ public sealed class SampleExtension : ICommandExtension
3434
/// <summary>
3535
/// Wraps the execution of the command. Can run before/after logic or inject feedback.
3636
/// </summary>
37-
public CommandResult Invoke(ICommand command, string[] extensionArgs, Func<string[], CommandResult> executor, string[] commandArgs)
37+
public CommandResult Invoke(ICommand command, string[] extensionArgs, Func<string[], CommandResult> executor,
38+
string[] commandArgs)
3839
{
3940
// Before hook
4041
BeforeExecute(command, commandArgs);

Weaver/CommandSignature.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,4 @@ namespace Weaver
1515
/// <param name="Name">The name of the command.</param>
1616
/// <param name="ParameterCount">The number of parameters the command expects.</param>
1717
public record CommandSignature(string Namespace, string Name, int ParameterCount);
18-
}
18+
}

Weaver/Core/CommandExtension.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,4 +46,4 @@ public sealed class CommandExtension
4646
/// </value>
4747
public bool IsPreview { get; init; }
4848
}
49-
}
49+
}

Weaver/Core/Commands/DeleteValueCommand.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,4 +62,4 @@ public CommandResult Execute(params string[] args)
6262
: CommandResult.Fail($"Variable '{key}' not found.");
6363
}
6464
}
65-
}
65+
}

Weaver/Core/Commands/EvaluateCommand.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,5 @@ public CommandResult Execute(string[] args)
147147

148148
return CommandResult.Ok(message, result, type);
149149
}
150-
151150
}
152-
}
151+
}

Weaver/Core/Commands/GetValueCommand.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,4 +76,4 @@ public CommandResult Execute(params string[] args)
7676
);
7777
}
7878
}
79-
}
79+
}

Weaver/Core/Commands/HelpCommand.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,4 +91,4 @@ public CommandResult Execute(params string[] args)
9191
return CommandResult.Fail("Usage: help [commandName]");
9292
}
9393
}
94-
}
94+
}

Weaver/Core/Commands/ListCommand.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,4 +64,4 @@ public CommandResult Execute(params string[] args)
6464
return CommandResult.Ok("Available commands:\n\n" + string.Join("\n\n", grouped));
6565
}
6666
}
67-
}
67+
}

Weaver/Core/Commands/MemoryCommand.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,4 +57,4 @@ public CommandResult Execute(params string[] args)
5757
return CommandResult.Ok(content);
5858
}
5959
}
60-
}
60+
}

0 commit comments

Comments
 (0)