We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 54a5c8c commit 2429a73Copy full SHA for 2429a73
src/tooling/docs-builder/Program.cs
@@ -4,6 +4,7 @@
4
5
using System.Diagnostics.CodeAnalysis;
6
using Actions.Core.Extensions;
7
+using Actions.Core.Services;
8
using ConsoleAppFramework;
9
using Documentation.Builder.Cli;
10
using Elastic.Documentation.Diagnostics;
@@ -35,6 +36,11 @@
35
36
app.Add<InboundLinkCommands>("inbound-links");
37
app.Add<DiffCommands>("diff");
38
39
+var githubActions = ConsoleApp.ServiceProvider!.GetService<ICoreService>();
40
+var command = githubActions?.GetInput("COMMAND");
41
+if (!string.IsNullOrEmpty(command))
42
+ args = command.Split(' ');
43
+
44
await app.RunAsync(args).ConfigureAwait(false);
45
46
0 commit comments