Skip to content

Commit 82a7cdc

Browse files
committed
rename of function + update of docs
1 parent f79772c commit 82a7cdc

File tree

1 file changed

+4
-7
lines changed

1 file changed

+4
-7
lines changed

src/Generator.Client.CommandLine/ConsoleApplication.cs

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@ public class ConsoleApplication
2727
Syntax = "build [configName] [option: -s pathToStorage]")]
2828
public async Task<int> Build(
2929
[Argument(
30-
Name = "config",
3130
Description = "id or name of the configuration to build.")]
3231
string configurationId,
3332
[Option(
@@ -78,8 +77,7 @@ public class Configuration
7877
[ApplicationMetadata(Description = "Renames the configuration if it can be found through the given id.")]
7978
public async Task<int> Rename(
8079
[Argument(
81-
Description =
82-
"id of configuration which can be the position of the configuration, its guid, or the configuration name")]
80+
Description = "id of configuration which can be the position of the configuration, its guid, or the configuration name")]
8381
string id,
8482
[Argument(
8583
Description = "new name of the configuration")]
@@ -135,11 +133,10 @@ public async Task<int> All(
135133
return 0;
136134
}
137135

138-
[ApplicationMetadata(Description = "Renames the configuration if it can be found through the given id.")]
139-
public async Task<int> Detail(
136+
[ApplicationMetadata(Description = "Gets the json of a configuration identified by the given ID")]
137+
public async Task<int> Json(
140138
[Argument(
141-
Description =
142-
"id of configuration which can be the position of the configuration, its guid, or the configuration name")]
139+
Description = "id of configuration which can be the position of the configuration, its guid, or the configuration name")]
143140
string id,
144141
[Option(
145142
Description = "Path to storage.",

0 commit comments

Comments
 (0)