File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
src/tooling/docs-builder/Commands Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ ICoreService githubActionsService
25
25
/// <summary>
26
26
/// Index documentation to Elasticsearch, calls `docs-builder assembler build --exporters elasticsearch`. Exposes more options
27
27
/// </summary>
28
- /// <param name="endpoint">Elasticsearch endpoint, alternatively set env DOCUMENTATION_ELASTIC_URL</param>
28
+ /// <param name="endpoint">-es, Elasticsearch endpoint, alternatively set env DOCUMENTATION_ELASTIC_URL</param>
29
29
/// <param name="environment">The --environment used to clone ends up being part of the index name</param>
30
30
/// <param name="apiKey">Elasticsearch API key, alternatively set env DOCUMENTATION_ELASTIC_APIKEY</param>
31
31
/// <param name="username">Elasticsearch username (basic auth), alternatively set env DOCUMENTATION_ELASTIC_USERNAME</param>
@@ -49,7 +49,7 @@ ICoreService githubActionsService
49
49
/// <returns></returns>
50
50
[ Command ( "" ) ]
51
51
public async Task < int > Index (
52
- [ Argument ] string ? endpoint = null ,
52
+ string ? endpoint = null ,
53
53
string ? environment = null ,
54
54
string ? apiKey = null ,
55
55
string ? username = null ,
Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ ICoreService githubActionsService
23
23
/// <summary>
24
24
/// Index a single documentation set to Elasticsearch, calls `docs-builder --exporters elasticsearch`. Exposes more options
25
25
/// </summary>
26
- /// <param name="endpoint">Elasticsearch endpoint, alternatively set env DOCUMENTATION_ELASTIC_URL</param>
26
+ /// <param name="endpoint">-es, Elasticsearch endpoint, alternatively set env DOCUMENTATION_ELASTIC_URL</param>
27
27
/// <param name="path">path to the documentation folder, defaults to pwd.</param>
28
28
/// <param name="apiKey">Elasticsearch API key, alternatively set env DOCUMENTATION_ELASTIC_APIKEY</param>
29
29
/// <param name="username">Elasticsearch username (basic auth), alternatively set env DOCUMENTATION_ELASTIC_USERNAME</param>
@@ -47,7 +47,7 @@ ICoreService githubActionsService
47
47
/// <returns></returns>
48
48
[ Command ( "" ) ]
49
49
public async Task < int > Index (
50
- [ Argument ] string ? endpoint = null ,
50
+ string ? endpoint = null ,
51
51
string ? path = null ,
52
52
string ? apiKey = null ,
53
53
string ? username = null ,
You can’t perform that action at this time.
0 commit comments