myaidev-method 0.2.23 → 0.2.24-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.
Files changed (60) hide show
  1. package/.claude-plugin/plugin.json +251 -0
  2. package/PLUGIN_ARCHITECTURE.md +276 -0
  3. package/README.md +204 -0
  4. package/USER_GUIDE.md +436 -9
  5. package/bin/cli.js +370 -38
  6. package/dist/server/.tsbuildinfo +1 -1
  7. package/extension.json +174 -0
  8. package/hooks/hooks.json +221 -0
  9. package/marketplace.json +179 -0
  10. package/package.json +24 -7
  11. package/skills/content-verifier/SKILL.md +178 -0
  12. package/skills/content-writer/SKILL.md +151 -0
  13. package/skills/coolify-deployer/SKILL.md +207 -0
  14. package/skills/openstack-manager/SKILL.md +213 -0
  15. package/skills/security-auditor/SKILL.md +180 -0
  16. package/skills/security-tester/SKILL.md +171 -0
  17. package/skills/sparc-architect/SKILL.md +146 -0
  18. package/skills/sparc-coder/SKILL.md +136 -0
  19. package/skills/sparc-documenter/SKILL.md +195 -0
  20. package/skills/sparc-reviewer/SKILL.md +179 -0
  21. package/skills/sparc-tester/SKILL.md +156 -0
  22. package/skills/visual-generator/SKILL.md +147 -0
  23. package/skills/wordpress-publisher/SKILL.md +150 -0
  24. package/src/config/workflows.js +28 -44
  25. package/src/lib/ascii-banner.js +214 -0
  26. package/src/lib/config-manager.js +470 -0
  27. package/src/lib/content-coordinator.js +2562 -0
  28. package/src/lib/content-generator.js +427 -0
  29. package/src/lib/html-conversion-utils.js +843 -0
  30. package/src/lib/installation-detector.js +266 -0
  31. package/src/lib/seo-optimizer.js +515 -0
  32. package/src/lib/visual-config-utils.js +1 -1
  33. package/src/lib/visual-generation-utils.js +34 -14
  34. package/src/lib/wordpress-client.js +633 -0
  35. package/src/lib/workflow-installer.js +3 -3
  36. package/src/scripts/generate-visual-cli.js +39 -10
  37. package/src/scripts/html-conversion-cli.js +526 -0
  38. package/src/scripts/init/configure.js +436 -0
  39. package/src/scripts/init/install.js +460 -0
  40. package/src/scripts/ping.js +0 -1
  41. package/src/scripts/utils/file-utils.js +404 -0
  42. package/src/scripts/utils/logger.js +300 -0
  43. package/src/scripts/utils/write-content.js +293 -0
  44. package/src/templates/claude/agents/content-production-coordinator.md +689 -15
  45. package/src/templates/claude/agents/visual-content-generator.md +129 -4
  46. package/src/templates/claude/commands/myai-content-enrichment.md +227 -0
  47. package/src/templates/claude/commands/myai-content-writer.md +48 -37
  48. package/src/templates/claude/commands/myai-convert-html.md +186 -0
  49. package/src/templates/claude/commands/myai-coordinate-content.md +347 -11
  50. package/src/templates/diagrams/architecture.d2 +52 -0
  51. package/src/templates/diagrams/flowchart.d2 +42 -0
  52. package/src/templates/diagrams/sequence.d2 +47 -0
  53. package/src/templates/docs/content-creation-guide.md +164 -0
  54. package/src/templates/docs/deployment-guide.md +336 -0
  55. package/src/templates/docs/visual-generation-guide.md +248 -0
  56. package/src/templates/docs/wordpress-publishing-guide.md +208 -0
  57. package/src/templates/infographics/comparison-table.html +347 -0
  58. package/src/templates/infographics/data-chart.html +268 -0
  59. package/src/templates/infographics/process-flow.html +365 -0
  60. /package/src/scripts/{wordpress-health-check.js → wordpress/wordpress-health-check.js} +0 -0
package/bin/cli.js CHANGED
@@ -7,7 +7,17 @@ import fs from 'fs-extra';
7
7
  import path from 'path';
8
8
  import { fileURLToPath } from 'url';
9
9
  import inquirer from 'inquirer';
10
- import { getASCIIBanner, getSPARCBreakdown, getInitSuccessMessage } from '../src/lib/ascii-banner.js';
10
+ import {
11
+ getASCIIBanner,
12
+ getSPARCBreakdown,
13
+ getInitSuccessMessage,
14
+ getWorkflowBanner,
15
+ getContentWorkflowSuccess,
16
+ getVisualWorkflowSuccess,
17
+ getDevWorkflowSuccess,
18
+ getPublishWorkflowSuccess,
19
+ getDeployWorkflowSuccess
20
+ } from '../src/lib/ascii-banner.js';
11
21
 
12
22
  const __filename = fileURLToPath(import.meta.url);
13
23
  const __dirname = path.dirname(__filename);
@@ -31,53 +41,174 @@ program
31
41
  .version('0.2.22')
32
42
  .description('MyAIDev Method - Comprehensive development framework with SPARC methodology');
33
43
 
44
+ // Helper function for CLI type selection
45
+ async function selectCLIType(options) {
46
+ if (options.claude) return 'claude';
47
+ if (options.gemini) return 'gemini';
48
+ if (options.codex) return 'codex';
49
+
50
+ // Interactive selection if no flag provided
51
+ const answer = await inquirer.prompt([
52
+ {
53
+ type: 'list',
54
+ name: 'cliType',
55
+ message: 'Which AI CLI are you configuring for?',
56
+ choices: [
57
+ { name: 'Claude Code (Recommended)', value: 'claude' },
58
+ { name: 'Gemini CLI', value: 'gemini' },
59
+ { name: 'Codex CLI / OpenCode', value: 'codex' }
60
+ ],
61
+ default: 'claude'
62
+ }
63
+ ]);
64
+ return answer.cliType;
65
+ }
66
+
34
67
  // Modular workflow installation commands
35
68
  program
36
69
  .command('content')
37
70
  .description('Install content creation workflow')
38
71
  .option('--claude', 'Install for Claude Code')
72
+ .option('--gemini', 'Install for Gemini CLI')
73
+ .option('--codex', 'Install for Codex CLI')
39
74
  .option('--dry-run', 'Show what would be installed without making changes')
40
75
  .option('--verbose', 'Show detailed progress')
41
76
  .action(async (options) => {
42
- await loadWorkflowSystem();
43
- const installer = new WorkflowInstaller({
44
- projectRoot: process.cwd(),
45
- verbose: options.verbose,
46
- dryRun: options.dryRun
47
- });
48
- await installer.install(['content']);
77
+ // Display workflow banner
78
+ console.log(getWorkflowBanner('content'));
79
+
80
+ const cliType = await selectCLIType(options);
81
+
82
+ // For non-Claude CLIs, inform user about limited support
83
+ if (cliType !== 'claude') {
84
+ console.log(chalk.yellow(`\nNote: Content workflow is optimized for Claude Code.`));
85
+ console.log(chalk.gray(`Some features may have limited support for ${cliType}.\n`));
86
+ }
87
+
88
+ const spinner = ora('Installing content creation workflow...').start();
89
+
90
+ try {
91
+ await loadWorkflowSystem();
92
+ const installer = new WorkflowInstaller({
93
+ projectRoot: process.cwd(),
94
+ verbose: options.verbose,
95
+ dryRun: options.dryRun
96
+ });
97
+ const result = await installer.install(['content']);
98
+
99
+ if (options.dryRun) {
100
+ spinner.succeed(chalk.yellow('Dry run complete - no changes made'));
101
+ } else {
102
+ spinner.succeed(chalk.green('Content workflow installed successfully!'));
103
+
104
+ // Display rich success message
105
+ console.log(getContentWorkflowSuccess(result.results || [], cliType));
106
+
107
+ console.log(chalk.cyan(`\nšŸ”„ Restart ${cliType} to load your new content commands!`));
108
+ }
109
+ } catch (error) {
110
+ spinner.fail(chalk.red('Failed to install content workflow'));
111
+ console.error(chalk.red(error.message));
112
+ if (options.verbose) console.error(error);
113
+ process.exit(1);
114
+ }
49
115
  });
50
116
 
51
117
  program
52
118
  .command('visual')
53
119
  .description('Install visual content generation workflow')
54
120
  .option('--claude', 'Install for Claude Code')
121
+ .option('--gemini', 'Install for Gemini CLI')
122
+ .option('--codex', 'Install for Codex CLI')
55
123
  .option('--dry-run', 'Show what would be installed without making changes')
56
124
  .option('--verbose', 'Show detailed progress')
57
125
  .action(async (options) => {
58
- await loadWorkflowSystem();
59
- const installer = new WorkflowInstaller({
60
- projectRoot: process.cwd(),
61
- verbose: options.verbose,
62
- dryRun: options.dryRun
63
- });
64
- await installer.install(['visual']);
126
+ // Display workflow banner
127
+ console.log(getWorkflowBanner('visual'));
128
+
129
+ const cliType = await selectCLIType(options);
130
+
131
+ // For non-Claude CLIs, inform user about limited support
132
+ if (cliType !== 'claude') {
133
+ console.log(chalk.yellow(`\nNote: Visual workflow is optimized for Claude Code.`));
134
+ console.log(chalk.gray(`Some features may have limited support for ${cliType}.\n`));
135
+ }
136
+
137
+ const spinner = ora('Installing visual content generation workflow...').start();
138
+
139
+ try {
140
+ await loadWorkflowSystem();
141
+ const installer = new WorkflowInstaller({
142
+ projectRoot: process.cwd(),
143
+ verbose: options.verbose,
144
+ dryRun: options.dryRun
145
+ });
146
+ const result = await installer.install(['visual']);
147
+
148
+ if (options.dryRun) {
149
+ spinner.succeed(chalk.yellow('Dry run complete - no changes made'));
150
+ } else {
151
+ spinner.succeed(chalk.green('Visual workflow installed successfully!'));
152
+
153
+ // Display rich success message
154
+ console.log(getVisualWorkflowSuccess(result.results || [], cliType));
155
+
156
+ console.log(chalk.cyan(`\nšŸ”„ Restart ${cliType} to load your new visual commands!`));
157
+ }
158
+ } catch (error) {
159
+ spinner.fail(chalk.red('Failed to install visual workflow'));
160
+ console.error(chalk.red(error.message));
161
+ if (options.verbose) console.error(error);
162
+ process.exit(1);
163
+ }
65
164
  });
66
165
 
67
166
  program
68
167
  .command('dev')
69
168
  .description('Install development workflow (SPARC methodology)')
70
169
  .option('--claude', 'Install for Claude Code')
170
+ .option('--gemini', 'Install for Gemini CLI')
171
+ .option('--codex', 'Install for Codex CLI')
71
172
  .option('--dry-run', 'Show what would be installed without making changes')
72
173
  .option('--verbose', 'Show detailed progress')
73
174
  .action(async (options) => {
74
- await loadWorkflowSystem();
75
- const installer = new WorkflowInstaller({
76
- projectRoot: process.cwd(),
77
- verbose: options.verbose,
78
- dryRun: options.dryRun
79
- });
80
- await installer.install(['development']);
175
+ // Display workflow banner
176
+ console.log(getWorkflowBanner('development'));
177
+
178
+ const cliType = await selectCLIType(options);
179
+
180
+ if (cliType !== 'claude') {
181
+ console.log(chalk.yellow(`\nNote: Development workflow is optimized for Claude Code.`));
182
+ console.log(chalk.gray(`Some features may have limited support for ${cliType}.\n`));
183
+ }
184
+
185
+ const spinner = ora('Installing SPARC development workflow...').start();
186
+
187
+ try {
188
+ await loadWorkflowSystem();
189
+ const installer = new WorkflowInstaller({
190
+ projectRoot: process.cwd(),
191
+ verbose: options.verbose,
192
+ dryRun: options.dryRun
193
+ });
194
+ const result = await installer.install(['development']);
195
+
196
+ if (options.dryRun) {
197
+ spinner.succeed(chalk.yellow('Dry run complete - no changes made'));
198
+ } else {
199
+ spinner.succeed(chalk.green('Development workflow installed successfully!'));
200
+
201
+ // Display rich success message
202
+ console.log(getDevWorkflowSuccess(result.results || [], cliType));
203
+
204
+ console.log(chalk.cyan(`\nšŸ”„ Restart ${cliType} to load your new development commands!`));
205
+ }
206
+ } catch (error) {
207
+ spinner.fail(chalk.red('Failed to install development workflow'));
208
+ console.error(chalk.red(error.message));
209
+ if (options.verbose) console.error(error);
210
+ process.exit(1);
211
+ }
81
212
  });
82
213
 
83
214
  program
@@ -90,7 +221,9 @@ program
90
221
  .option('--dry-run', 'Show what would be installed without making changes')
91
222
  .option('--verbose', 'Show detailed progress')
92
223
  .action(async (options) => {
93
- await loadWorkflowSystem();
224
+ // Display workflow banner
225
+ console.log(getWorkflowBanner('publish'));
226
+
94
227
  const workflows = [];
95
228
  if (options.wordpress) workflows.push('publish-wordpress');
96
229
  if (options.payloadcms) workflows.push('publish-payloadcms');
@@ -103,12 +236,34 @@ program
103
236
  console.log(chalk.gray(' --wordpress, --payloadcms, --static, or --all'));
104
237
  process.exit(1);
105
238
  }
106
- const installer = new WorkflowInstaller({
107
- projectRoot: process.cwd(),
108
- verbose: options.verbose,
109
- dryRun: options.dryRun
110
- });
111
- await installer.install(workflows);
239
+
240
+ const spinner = ora('Installing publishing workflows...').start();
241
+
242
+ try {
243
+ await loadWorkflowSystem();
244
+ const installer = new WorkflowInstaller({
245
+ projectRoot: process.cwd(),
246
+ verbose: options.verbose,
247
+ dryRun: options.dryRun
248
+ });
249
+ const result = await installer.install(workflows);
250
+
251
+ if (options.dryRun) {
252
+ spinner.succeed(chalk.yellow('Dry run complete - no changes made'));
253
+ } else {
254
+ spinner.succeed(chalk.green('Publishing workflows installed successfully!'));
255
+
256
+ // Display rich success message
257
+ console.log(getPublishWorkflowSuccess(workflows, result.results || [], 'claude'));
258
+
259
+ console.log(chalk.cyan(`\nšŸ”„ Restart Claude Code to load your new publishing commands!`));
260
+ }
261
+ } catch (error) {
262
+ spinner.fail(chalk.red('Failed to install publishing workflows'));
263
+ console.error(chalk.red(error.message));
264
+ if (options.verbose) console.error(error);
265
+ process.exit(1);
266
+ }
112
267
  });
113
268
 
114
269
  program
@@ -119,19 +274,43 @@ program
119
274
  .option('--dry-run', 'Show what would be installed without making changes')
120
275
  .option('--verbose', 'Show detailed progress')
121
276
  .action(async (options) => {
122
- await loadWorkflowSystem();
277
+ // Display workflow banner
278
+ console.log(getWorkflowBanner('deploy'));
279
+
123
280
  const workflows = [];
124
281
  if (options.coolify) workflows.push('coolify');
125
282
  if (options.all) workflows.push('deployment', 'coolify');
126
283
  if (workflows.length === 0) {
127
284
  workflows.push('deployment');
128
285
  }
129
- const installer = new WorkflowInstaller({
130
- projectRoot: process.cwd(),
131
- verbose: options.verbose,
132
- dryRun: options.dryRun
133
- });
134
- await installer.install(workflows);
286
+
287
+ const spinner = ora('Installing deployment workflows...').start();
288
+
289
+ try {
290
+ await loadWorkflowSystem();
291
+ const installer = new WorkflowInstaller({
292
+ projectRoot: process.cwd(),
293
+ verbose: options.verbose,
294
+ dryRun: options.dryRun
295
+ });
296
+ const result = await installer.install(workflows);
297
+
298
+ if (options.dryRun) {
299
+ spinner.succeed(chalk.yellow('Dry run complete - no changes made'));
300
+ } else {
301
+ spinner.succeed(chalk.green('Deployment workflows installed successfully!'));
302
+
303
+ // Display rich success message
304
+ console.log(getDeployWorkflowSuccess(workflows, result.results || [], 'claude'));
305
+
306
+ console.log(chalk.cyan(`\nšŸ”„ Restart Claude Code to load your new deployment commands!`));
307
+ }
308
+ } catch (error) {
309
+ spinner.fail(chalk.red('Failed to install deployment workflows'));
310
+ console.error(chalk.red(error.message));
311
+ if (options.verbose) console.error(error);
312
+ process.exit(1);
313
+ }
135
314
  });
136
315
 
137
316
  // Workflow management commands
@@ -210,11 +389,12 @@ program
210
389
  {
211
390
  type: 'list',
212
391
  name: 'cliType',
213
- message: 'Which AI CLI are you configuring for?',
392
+ message: 'Which AI CLI are you configuring for? (claude|gemini|codex|opencode)',
214
393
  choices: [
215
394
  { name: 'Claude Code', value: 'claude' },
216
395
  { name: 'Gemini CLI', value: 'gemini' },
217
- { name: 'Codex CLI', value: 'codex' }
396
+ { name: 'Codex CLI', value: 'codex' },
397
+ { name: 'Opencode CLI', value: 'opencode'}
218
398
  ]
219
399
  }
220
400
  ]);
@@ -1039,4 +1219,156 @@ program
1039
1219
  }
1040
1220
  });
1041
1221
 
1222
+ // Installation detection command (Plugin Architecture Support)
1223
+ program
1224
+ .command('detect')
1225
+ .description('Detect MyAIDev Method installation state (legacy vs plugin)')
1226
+ .option('--json', 'Output as JSON')
1227
+ .action(async (options) => {
1228
+ try {
1229
+ const { detectInstallation, getInstallationStatus } = await import('../src/lib/installation-detector.js');
1230
+
1231
+ if (options.json) {
1232
+ const detection = await detectInstallation(process.cwd());
1233
+ console.log(JSON.stringify(detection, null, 2));
1234
+ } else {
1235
+ const status = await getInstallationStatus(process.cwd());
1236
+ console.log(status);
1237
+ }
1238
+ } catch (error) {
1239
+ console.error(chalk.red('Failed to detect installation:'), error.message);
1240
+ process.exit(1);
1241
+ }
1242
+ });
1243
+
1244
+ // Plugin information command
1245
+ program
1246
+ .command('plugin-info')
1247
+ .description('Show plugin architecture information and capabilities')
1248
+ .action(async () => {
1249
+ console.log(chalk.cyan('\nšŸ”Œ MyAIDev Method Plugin Architecture\n'));
1250
+ console.log(chalk.white('════════════════════════════════════════════════════════════════\n'));
1251
+
1252
+ console.log(chalk.yellow('šŸ“¦ Installation Methods:\n'));
1253
+ console.log(' 1. Legacy (npx): npx myaidev-method init --claude');
1254
+ console.log(' 2. Plugin: /plugin install myaidev-method\n');
1255
+
1256
+ console.log(chalk.yellow('šŸŽÆ Command Formats:\n'));
1257
+ console.log(' Legacy: /myai-content-writer, /myai-configure');
1258
+ console.log(' Namespaced: /myaidev-method:content-writer\n');
1259
+
1260
+ console.log(chalk.yellow('šŸ“š Available Skill Packs:\n'));
1261
+ console.log(' • content - Content creation & WordPress publishing');
1262
+ console.log(' • visual - AI image/video generation');
1263
+ console.log(' • development - SPARC methodology for software dev');
1264
+ console.log(' • publishing - Multi-platform publishing (WP, Payload, Static)');
1265
+ console.log(' • deployment - Coolify deployment automation');
1266
+ console.log(' • security - Security testing & auditing');
1267
+ console.log(' • openstack - OpenStack VM management\n');
1268
+
1269
+ console.log(chalk.yellow('šŸ“ Plugin Structure:\n'));
1270
+ console.log(' .claude-plugin/plugin.json - Plugin manifest');
1271
+ console.log(' skills/ - SKILL.md files');
1272
+ console.log(' commands/ - Command definitions');
1273
+ console.log(' agents/ - Agent definitions');
1274
+ console.log(' hooks/hooks.json - Lifecycle hooks\n');
1275
+
1276
+ console.log(chalk.yellow('šŸ”— More Information:\n'));
1277
+ console.log(' Documentation: https://github.com/myaione/myaidev-method');
1278
+ console.log(' Plugin Catalog: https://myaidev.com/plugins/myaidev-method\n');
1279
+ });
1280
+
1281
+ // Upgrade command (legacy to plugin)
1282
+ program
1283
+ .command('upgrade')
1284
+ .description('Upgrade from legacy installation to plugin architecture')
1285
+ .option('--dry-run', 'Show what would be upgraded without making changes')
1286
+ .action(async (options) => {
1287
+ try {
1288
+ const { detectInstallation, checkUpgradeAvailability } = await import('../src/lib/installation-detector.js');
1289
+ const detection = await detectInstallation(process.cwd());
1290
+
1291
+ console.log(chalk.cyan('\nšŸ”„ MyAIDev Method Upgrade Check\n'));
1292
+
1293
+ if (detection.installationType === 'none') {
1294
+ console.log(chalk.yellow('āš ļø No MyAIDev Method installation detected.'));
1295
+ console.log(chalk.gray('\nRun "npx myaidev-method init --claude" to install first.\n'));
1296
+ return;
1297
+ }
1298
+
1299
+ if (detection.installationType === 'plugin' || detection.installationType === 'both') {
1300
+ console.log(chalk.green('āœ… Plugin architecture already enabled.'));
1301
+ console.log(chalk.gray('\nNo upgrade needed.\n'));
1302
+ return;
1303
+ }
1304
+
1305
+ const upgrade = await checkUpgradeAvailability(process.cwd());
1306
+
1307
+ console.log(chalk.yellow('šŸ“‹ Current Installation: Legacy (npx-based)\n'));
1308
+
1309
+ console.log(chalk.green('✨ Upgrade Benefits:'));
1310
+ for (const benefit of upgrade.upgradeBenefits) {
1311
+ console.log(` • ${benefit}`);
1312
+ }
1313
+
1314
+ console.log(chalk.blue('\nšŸ”’ Preserved Features:'));
1315
+ for (const feature of upgrade.preservedFeatures) {
1316
+ console.log(` • ${feature}`);
1317
+ }
1318
+
1319
+ if (options.dryRun) {
1320
+ console.log(chalk.yellow('\n[DRY RUN] Would create:'));
1321
+ console.log(' • .claude-plugin/plugin.json');
1322
+ console.log(' • skills/ directory with SKILL.md files');
1323
+ console.log(' • hooks/hooks.json');
1324
+ console.log('\n[DRY RUN] No changes made.\n');
1325
+ return;
1326
+ }
1327
+
1328
+ // Prompt for confirmation
1329
+ const answer = await inquirer.prompt([
1330
+ {
1331
+ type: 'confirm',
1332
+ name: 'proceed',
1333
+ message: 'Proceed with upgrade to plugin architecture?',
1334
+ default: true
1335
+ }
1336
+ ]);
1337
+
1338
+ if (!answer.proceed) {
1339
+ console.log(chalk.gray('\nUpgrade cancelled.\n'));
1340
+ return;
1341
+ }
1342
+
1343
+ const spinner = ora('Upgrading to plugin architecture...').start();
1344
+
1345
+ // Copy plugin files from the package to the project
1346
+ const packageRoot = path.dirname(__dirname);
1347
+
1348
+ // Create .claude-plugin directory
1349
+ await fs.ensureDir(path.join(process.cwd(), '.claude-plugin'));
1350
+ await fs.copy(
1351
+ path.join(packageRoot, '.claude-plugin', 'plugin.json'),
1352
+ path.join(process.cwd(), '.claude-plugin', 'plugin.json')
1353
+ );
1354
+
1355
+ // Create hooks directory
1356
+ await fs.ensureDir(path.join(process.cwd(), 'hooks'));
1357
+ await fs.copy(
1358
+ path.join(packageRoot, 'hooks', 'hooks.json'),
1359
+ path.join(process.cwd(), 'hooks', 'hooks.json')
1360
+ );
1361
+
1362
+ spinner.succeed(chalk.green('Upgrade complete!'));
1363
+
1364
+ console.log(chalk.cyan('\nāœ… Plugin architecture enabled.'));
1365
+ console.log(chalk.gray(' Both /myai-* and /myaidev-method:* commands now available.'));
1366
+ console.log(chalk.yellow('\nšŸ”„ Restart Claude Code to load new capabilities.\n'));
1367
+
1368
+ } catch (error) {
1369
+ console.error(chalk.red('Failed to upgrade:'), error.message);
1370
+ process.exit(1);
1371
+ }
1372
+ });
1373
+
1042
1374
  program.parse(process.argv);