File tree Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Original file line number Diff line number Diff line change 1515
1616namespace Documentation . Builder . Cli ;
1717
18- internal sealed class LinkHealthCommands ( ILoggerFactory logger , ICoreService githubActionsService )
18+ internal sealed class ValidationCommands ( ILoggerFactory logger , ICoreService githubActionsService )
1919{
2020 /// <summary>
2121 /// Validates redirect updates in the current branch using the redirects file against changes reported by git.
2222 /// </summary>
2323 /// <param name="ctx"></param>
2424 [ SuppressMessage ( "Usage" , "CA2254:Template should be a static expression" ) ]
25- [ Command ( "validate-redirects " ) ]
25+ [ Command ( "validate" ) ]
2626 [ ConsoleAppFilter < StopwatchFilter > ]
2727 [ ConsoleAppFilter < CatchExceptionFilter > ]
2828 public async Task < int > ValidateRedirects ( Cancel ctx = default )
Original file line number Diff line number Diff line change 66using Documentation . Builder . Cli ;
77using Elastic . Documentation . Diagnostics ;
88using Elastic . Documentation . Tooling ;
9- using Elastic . Markdown . Diagnostics ;
109using Microsoft . Extensions . DependencyInjection ;
1110
1211await using var serviceProvider = DocumentationTooling . CreateServiceProvider ( ref args , services => services
1817var app = ConsoleApp . Create ( ) ;
1918app . Add < Commands > ( ) ;
2019app . Add < InboundLinkCommands > ( "inbound-links" ) ;
21- app . Add < LinkHealthCommands > ( "health " ) ;
20+ app . Add < ValidationCommands > ( "diff " ) ;
2221
2322await app . RunAsync ( args ) . ConfigureAwait ( false ) ;
You can’t perform that action at this time.
0 commit comments