@gadmin2n/cli 0.0.88 → 0.0.89

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.
@@ -16,10 +16,18 @@ class TemplateCommand extends abstract_command_1.AbstractCommand {
16
16
  program
17
17
  .command('template <subcommand>')
18
18
  .alias('tpl')
19
- .description('Compare or sync with the project template.')
20
- .option('--no-content', 'Only show file list, skip inline diff content (for diff).')
21
- .option('-d, --dry-run', 'Show what would be updated without making changes (for update).')
22
- .option('-y, --yes', 'Skip confirmation prompt (for update).')
19
+ .description('Compare or sync with the project template.\n\n' +
20
+ ' Subcommands:\n' +
21
+ ' diff Show differences between instance and template\n' +
22
+ ' update Pull updates from template into instance\n\n' +
23
+ ' Update strategies (per-file interactive prompt):\n' +
24
+ ' skip Keep instance file as-is\n' +
25
+ ' overwrite Replace with template version\n' +
26
+ ' merge Attempt auto merge via git merge-file\n' +
27
+ ' conflict Write conflict markers for manual resolve\n')
28
+ .option('--no-content', '[diff] Only show file list, skip inline diff content.')
29
+ .option('-d, --dry-run', '[update] Show what would be updated without making changes.')
30
+ .option('-y, --yes', '[update] Skip per-file prompt, use conflict markers for all.')
23
31
  .action((subcommand, command) => __awaiter(this, void 0, void 0, function* () {
24
32
  const inputs = [];
25
33
  inputs.push({ name: 'subcommand', value: subcommand });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gadmin2n/cli",
3
- "version": "0.0.88",
3
+ "version": "0.0.89",
4
4
  "description": "Gadmin - modern, fast, powerful node.js web framework (@cli)",
5
5
  "publishConfig": {
6
6
  "access": "public"