@@ -32,19 +32,21 @@ ICoreService githubActionsService
3232 /// <param name="fetchLatest"> If true, fetch the latest commit of the branch instead of the link registry entry ref</param>
3333 /// <param name="assumeCloned"> If true, assume the repository folder already exists on disk assume it's cloned already, primarily used for testing</param>
3434 /// <param name="metadataOnly"> Only emit documentation metadata to output, ignored if 'exporters' is also set </param>
35+ /// <param name="showHints"> Show hints from all documentation sets during assembler build</param>
3536 /// <param name="exporters"> Set available exporters:
3637 /// html, es, config, links, state, llm, redirect, metadata, none.
3738 /// Defaults to (html, config, links, state, redirect) or 'default'.
3839 /// </param>
3940 /// <param name="serve"> Serve the documentation on port 4000 after succesful build</param>
4041 /// <param name="ctx"></param>
4142 [ Command ( "" ) ]
42- public async Task < int > CloneAll (
43+ public async Task < int > CloneAndBuild (
4344 bool ? strict = null ,
4445 string ? environment = null ,
4546 bool ? fetchLatest = null ,
4647 bool ? assumeCloned = null ,
4748 bool ? metadataOnly = null ,
49+ bool ? showHints = null ,
4850 [ ExporterParser ] IReadOnlySet < Exporter > ? exporters = null ,
4951 bool serve = false ,
5052 Cancel ctx = default
@@ -59,8 +61,9 @@ static async (s, collector, state, ctx) => await s.CloneAll(collector, state.str
5961
6062 var buildService = new AssemblerBuildService ( logFactory , assemblyConfiguration , configurationContext , githubActionsService ) ;
6163 var fs = new FileSystem ( ) ;
62- serviceInvoker . AddCommand ( buildService , ( strict , environment , metadataOnly , exporters , fs ) , strict ?? false ,
63- static async ( s , collector , state , ctx ) => await s . BuildAll ( collector , state . strict , state . environment , state . metadataOnly , state . exporters , state . fs , ctx )
64+ serviceInvoker . AddCommand ( buildService , ( strict , environment , metadataOnly , showHints , exporters , fs ) , strict ?? false ,
65+ static async ( s , collector , state , ctx ) =>
66+ await s . BuildAll ( collector , state . strict , state . environment , state . metadataOnly , state . showHints , state . exporters , state . fs , ctx )
6467 ) ;
6568 var result = await serviceInvoker . InvokeAsync ( ctx ) ;
6669
@@ -114,6 +117,7 @@ static async (s, collector, state, ctx) => await s.CloneAll(collector, state.str
114117 /// <param name="strict"> Treat warnings as errors and fail the build on warnings</param>
115118 /// <param name="environment"> The environment to build</param>
116119 /// <param name="metadataOnly"> Only emit documentation metadata to output, ignored if 'exporters' is also set </param>
120+ /// <param name="showHints"> Show hints from all documentation sets during assembler build</param>
117121 /// <param name="exporters"> Set available exporters:
118122 /// html, es, config, links, state, llm, redirect, metadata, none.
119123 /// Defaults to (html, config, links, state, redirect) or 'default'.
@@ -124,6 +128,7 @@ public async Task<int> BuildAll(
124128 bool ? strict = null ,
125129 string ? environment = null ,
126130 bool ? metadataOnly = null ,
131+ bool ? showHints = null ,
127132 [ ExporterParser ] IReadOnlySet < Exporter > ? exporters = null ,
128133 Cancel ctx = default
129134 )
@@ -132,8 +137,9 @@ public async Task<int> BuildAll(
132137
133138 var fs = new FileSystem ( ) ;
134139 var service = new AssemblerBuildService ( logFactory , assemblyConfiguration , configurationContext , githubActionsService ) ;
135- serviceInvoker . AddCommand ( service , ( strict , environment , metadataOnly , exporters , fs ) , strict ?? false ,
136- static async ( s , collector , state , ctx ) => await s . BuildAll ( collector , state . strict , state . environment , state . metadataOnly , state . exporters , state . fs , ctx )
140+ serviceInvoker . AddCommand ( service , ( strict , environment , metadataOnly , showHints , exporters , fs ) , strict ?? false ,
141+ static async ( s , collector , state , ctx ) =>
142+ await s . BuildAll ( collector , state . strict , state . environment , state . metadataOnly , state . showHints , state . exporters , state . fs , ctx )
137143 ) ;
138144
139145 return await serviceInvoker . InvokeAsync ( ctx ) ;
0 commit comments