@wocker/core 1.0.17-dev.1 → 1.0.17-dev.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -96,6 +96,7 @@ class Scanner {
96
96
  if (!descriptor) {
97
97
  continue;
98
98
  }
99
+ const description = Reflect.getMetadata(env_1.COMMAND_DESCRIPTION_METADATA, descriptor.value);
99
100
  const commandName = Reflect.getMetadata(env_1.COMMAND_METADATA, descriptor.value);
100
101
  const completions = (Reflect.getMetadata(env_1.COMPLETION_METADATA, descriptor.value) || [])
101
102
  .map((completion) => {
@@ -114,7 +115,7 @@ class Scanner {
114
115
  const argsMeta = Reflect.getMetadata(env_1.ARGS_METADATA, type, name) || [];
115
116
  const command = cli.command(commandName);
116
117
  command.help({
117
- description: "Des"
118
+ description: description
118
119
  });
119
120
  for (const argMeta of argsMeta) {
120
121
  if (argMeta.type === "option") {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wocker/core",
3
- "version": "1.0.17-dev.1",
3
+ "version": "1.0.17-dev.2",
4
4
  "author": "Kris Papercut <krispcut@gmail.com>",
5
5
  "description": "Core of the Wocker",
6
6
  "license": "MIT",