@springmicro/cli 0.5.15 → 0.5.17
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.
- package/README.md +32 -455
- package/oclif.manifest.json +56 -56
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -1,53 +1,36 @@
|
|
|
1
|
-
# @springmicro/cli
|
|
2
|
-
|
|
3
|
-
Command line utilities for SpringMicroHost.
|
|
4
|
-
|
|
5
|
-
[](https://oclif.io)
|
|
6
|
-
[](https://npmjs.org/package/@springmicro/cli)
|
|
7
|
-
[](https://npmjs.org/package/@springmicro/cli)
|
|
8
|
-
|
|
1
|
+
# @springmicro/cli
|
|
2
|
+
|
|
3
|
+
Command line utilities for SpringMicroHost.
|
|
4
|
+
|
|
5
|
+
[](https://oclif.io)
|
|
6
|
+
[](https://npmjs.org/package/@springmicro/cli)
|
|
7
|
+
[](https://npmjs.org/package/@springmicro/cli)
|
|
8
|
+
|
|
9
9
|
<!-- toc -->
|
|
10
10
|
* [@springmicro/cli](#springmicrocli)
|
|
11
11
|
* [Usage](#usage)
|
|
12
12
|
* [Commands](#commands)
|
|
13
13
|
* [Development](#development)
|
|
14
|
-
<!-- tocstop -->
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
* [Development](#development)
|
|
19
|
-
<!-- tocstop -->
|
|
20
|
-
|
|
21
|
-
# Usage
|
|
22
|
-
|
|
14
|
+
<!-- tocstop -->
|
|
15
|
+
|
|
16
|
+
# Usage
|
|
17
|
+
|
|
23
18
|
<!-- usage -->
|
|
24
19
|
```sh-session
|
|
25
20
|
$ npm install -g @springmicro/cli
|
|
26
21
|
$ springmicro COMMAND
|
|
27
22
|
running command...
|
|
28
23
|
$ springmicro (--version)
|
|
29
|
-
@springmicro/cli/0.5.
|
|
24
|
+
@springmicro/cli/0.5.17 win32-x64 node-v20.19.0
|
|
30
25
|
$ springmicro --help [COMMAND]
|
|
31
26
|
USAGE
|
|
32
27
|
$ springmicro COMMAND
|
|
33
28
|
...
|
|
34
29
|
```
|
|
35
|
-
<!-- usagestop -->
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
running command...
|
|
40
|
-
$ springmicro (--version)
|
|
41
|
-
@springmicro/cli/0.5.0 linux-x64 node-v22.11.0
|
|
42
|
-
$ springmicro --help [COMMAND]
|
|
43
|
-
USAGE
|
|
44
|
-
$ springmicro COMMAND
|
|
45
|
-
...
|
|
46
|
-
```
|
|
47
|
-
<!-- usagestop -->
|
|
48
|
-
|
|
49
|
-
# Commands
|
|
50
|
-
|
|
30
|
+
<!-- usagestop -->
|
|
31
|
+
|
|
32
|
+
# Commands
|
|
33
|
+
|
|
51
34
|
<!-- commands -->
|
|
52
35
|
* [`springmicro add auth`](#springmicro-add-auth)
|
|
53
36
|
* [`springmicro add form`](#springmicro-add-form)
|
|
@@ -80,7 +63,7 @@ EXAMPLES
|
|
|
80
63
|
$ springmicro add auth
|
|
81
64
|
```
|
|
82
65
|
|
|
83
|
-
_See code: [src/commands/add/auth.ts](https://github.com/SpringMicro1/springmicrohost-js/blob/v0.5.
|
|
66
|
+
_See code: [src/commands/add/auth.ts](https://github.com/SpringMicro1/springmicrohost-js/blob/v0.5.17/src/commands/add/auth.ts)_
|
|
84
67
|
|
|
85
68
|
## `springmicro add form`
|
|
86
69
|
|
|
@@ -100,7 +83,7 @@ EXAMPLES
|
|
|
100
83
|
$ springmicro add form
|
|
101
84
|
```
|
|
102
85
|
|
|
103
|
-
_See code: [src/commands/add/form.ts](https://github.com/SpringMicro1/springmicrohost-js/blob/v0.5.
|
|
86
|
+
_See code: [src/commands/add/form.ts](https://github.com/SpringMicro1/springmicrohost-js/blob/v0.5.17/src/commands/add/form.ts)_
|
|
104
87
|
|
|
105
88
|
## `springmicro help [COMMAND]`
|
|
106
89
|
|
|
@@ -143,7 +126,7 @@ EXAMPLES
|
|
|
143
126
|
$ springmicro init astro -n example
|
|
144
127
|
```
|
|
145
128
|
|
|
146
|
-
_See code: [src/commands/init/index.ts](https://github.com/SpringMicro1/springmicrohost-js/blob/v0.5.
|
|
129
|
+
_See code: [src/commands/init/index.ts](https://github.com/SpringMicro1/springmicrohost-js/blob/v0.5.17/src/commands/init/index.ts)_
|
|
147
130
|
|
|
148
131
|
## `springmicro init astro`
|
|
149
132
|
|
|
@@ -163,7 +146,7 @@ EXAMPLES
|
|
|
163
146
|
$ springmicro init astro -n <project-name>
|
|
164
147
|
```
|
|
165
148
|
|
|
166
|
-
_See code: [src/commands/init/astro.ts](https://github.com/SpringMicro1/springmicrohost-js/blob/v0.5.
|
|
149
|
+
_See code: [src/commands/init/astro.ts](https://github.com/SpringMicro1/springmicrohost-js/blob/v0.5.17/src/commands/init/astro.ts)_
|
|
167
150
|
|
|
168
151
|
## `springmicro plugins`
|
|
169
152
|
|
|
@@ -454,421 +437,15 @@ DESCRIPTION
|
|
|
454
437
|
```
|
|
455
438
|
|
|
456
439
|
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.4.17/src/commands/plugins/update.ts)_
|
|
457
|
-
<!-- commandsstop -->
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
* [`springmicro plugins remove [PLUGIN]`](#springmicro-plugins-remove-plugin)
|
|
469
|
-
* [`springmicro plugins reset`](#springmicro-plugins-reset)
|
|
470
|
-
* [`springmicro plugins uninstall [PLUGIN]`](#springmicro-plugins-uninstall-plugin)
|
|
471
|
-
* [`springmicro plugins unlink [PLUGIN]`](#springmicro-plugins-unlink-plugin)
|
|
472
|
-
* [`springmicro plugins update`](#springmicro-plugins-update)
|
|
473
|
-
|
|
474
|
-
## `springmicro add auth`
|
|
475
|
-
|
|
476
|
-
describe the command here
|
|
477
|
-
|
|
478
|
-
```
|
|
479
|
-
USAGE
|
|
480
|
-
$ springmicro add auth
|
|
481
|
-
|
|
482
|
-
DESCRIPTION
|
|
483
|
-
describe the command here
|
|
484
|
-
|
|
485
|
-
EXAMPLES
|
|
486
|
-
$ springmicro add auth
|
|
487
|
-
```
|
|
488
|
-
|
|
489
|
-
_See code: [src/commands/add/auth.ts](https://github.com/SpringMicro1/springmicrohost-js/blob/v0.5.0/src/commands/add/auth.ts)_
|
|
490
|
-
|
|
491
|
-
## `springmicro add form`
|
|
492
|
-
|
|
493
|
-
add a form to your project
|
|
494
|
-
|
|
495
|
-
```
|
|
496
|
-
USAGE
|
|
497
|
-
$ springmicro add form [-t <value>]
|
|
498
|
-
|
|
499
|
-
FLAGS
|
|
500
|
-
-t, --template=<value> form template (contact|quote)
|
|
501
|
-
|
|
502
|
-
DESCRIPTION
|
|
503
|
-
add a form to your project
|
|
504
|
-
|
|
505
|
-
EXAMPLES
|
|
506
|
-
$ springmicro add form
|
|
507
|
-
```
|
|
508
|
-
|
|
509
|
-
_See code: [src/commands/add/form.ts](https://github.com/SpringMicro1/springmicrohost-js/blob/v0.5.0/src/commands/add/form.ts)_
|
|
510
|
-
|
|
511
|
-
## `springmicro help [COMMAND]`
|
|
512
|
-
|
|
513
|
-
Display help for springmicro.
|
|
514
|
-
|
|
515
|
-
```
|
|
516
|
-
USAGE
|
|
517
|
-
$ springmicro help [COMMAND...] [-n]
|
|
518
|
-
|
|
519
|
-
ARGUMENTS
|
|
520
|
-
COMMAND... Command to show help for.
|
|
521
|
-
|
|
522
|
-
FLAGS
|
|
523
|
-
-n, --nested-commands Include all nested commands in the output.
|
|
524
|
-
|
|
525
|
-
DESCRIPTION
|
|
526
|
-
Display help for springmicro.
|
|
527
|
-
```
|
|
528
|
-
|
|
529
|
-
_See code: [@oclif/plugin-help](https://github.com/oclif/plugin-help/blob/v6.2.18/src/commands/help.ts)_
|
|
530
|
-
|
|
531
|
-
## `springmicro init PROJECTTYPE`
|
|
532
|
-
|
|
533
|
-
Initialize a JavaScript framework project according to SpringMicroHost's specifications.
|
|
534
|
-
|
|
535
|
-
```
|
|
536
|
-
USAGE
|
|
537
|
-
$ springmicro init PROJECTTYPE -n <value>
|
|
538
|
-
|
|
539
|
-
ARGUMENTS
|
|
540
|
-
PROJECTTYPE Project type (astro)
|
|
541
|
-
|
|
542
|
-
FLAGS
|
|
543
|
-
-n, --name=<value> (required) Project name
|
|
544
|
-
|
|
545
|
-
DESCRIPTION
|
|
546
|
-
Initialize a JavaScript framework project according to SpringMicroHost's specifications.
|
|
547
|
-
|
|
548
|
-
EXAMPLES
|
|
549
|
-
$ springmicro init astro -n example
|
|
550
|
-
```
|
|
551
|
-
|
|
552
|
-
_See code: [src/commands/init/index.ts](https://github.com/SpringMicro1/springmicrohost-js/blob/v0.5.0/src/commands/init/index.ts)_
|
|
553
|
-
|
|
554
|
-
## `springmicro init astro`
|
|
555
|
-
|
|
556
|
-
Initialize a Astro project according to SpringMicroHost's specifications.
|
|
557
|
-
|
|
558
|
-
```
|
|
559
|
-
USAGE
|
|
560
|
-
$ springmicro init astro -n <value>
|
|
561
|
-
|
|
562
|
-
FLAGS
|
|
563
|
-
-n, --name=<value> (required) Project name
|
|
564
|
-
|
|
565
|
-
DESCRIPTION
|
|
566
|
-
Initialize a Astro project according to SpringMicroHost's specifications.
|
|
567
|
-
|
|
568
|
-
EXAMPLES
|
|
569
|
-
$ springmicro init astro -n <project-name>
|
|
570
|
-
```
|
|
571
|
-
|
|
572
|
-
_See code: [src/commands/init/astro.ts](https://github.com/SpringMicro1/springmicrohost-js/blob/v0.5.0/src/commands/init/astro.ts)_
|
|
573
|
-
|
|
574
|
-
## `springmicro plugins`
|
|
575
|
-
|
|
576
|
-
List installed plugins.
|
|
577
|
-
|
|
578
|
-
```
|
|
579
|
-
USAGE
|
|
580
|
-
$ springmicro plugins [--json] [--core]
|
|
581
|
-
|
|
582
|
-
FLAGS
|
|
583
|
-
--core Show core plugins.
|
|
584
|
-
|
|
585
|
-
GLOBAL FLAGS
|
|
586
|
-
--json Format output as json.
|
|
587
|
-
|
|
588
|
-
DESCRIPTION
|
|
589
|
-
List installed plugins.
|
|
590
|
-
|
|
591
|
-
EXAMPLES
|
|
592
|
-
$ springmicro plugins
|
|
593
|
-
```
|
|
594
|
-
|
|
595
|
-
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.4.17/src/commands/plugins/index.ts)_
|
|
596
|
-
|
|
597
|
-
## `springmicro plugins add PLUGIN`
|
|
598
|
-
|
|
599
|
-
Installs a plugin into springmicro.
|
|
600
|
-
|
|
601
|
-
```
|
|
602
|
-
USAGE
|
|
603
|
-
$ springmicro plugins add PLUGIN... [--json] [-f] [-h] [-s | -v]
|
|
604
|
-
|
|
605
|
-
ARGUMENTS
|
|
606
|
-
PLUGIN... Plugin to install.
|
|
607
|
-
|
|
608
|
-
FLAGS
|
|
609
|
-
-f, --force Force npm to fetch remote resources even if a local copy exists on disk.
|
|
610
|
-
-h, --help Show CLI help.
|
|
611
|
-
-s, --silent Silences npm output.
|
|
612
|
-
-v, --verbose Show verbose npm output.
|
|
613
|
-
|
|
614
|
-
GLOBAL FLAGS
|
|
615
|
-
--json Format output as json.
|
|
616
|
-
|
|
617
|
-
DESCRIPTION
|
|
618
|
-
Installs a plugin into springmicro.
|
|
619
|
-
|
|
620
|
-
Uses npm to install plugins.
|
|
621
|
-
|
|
622
|
-
Installation of a user-installed plugin will override a core plugin.
|
|
623
|
-
|
|
624
|
-
Use the SPRINGMICRO_NPM_LOG_LEVEL environment variable to set the npm loglevel.
|
|
625
|
-
Use the SPRINGMICRO_NPM_REGISTRY environment variable to set the npm registry.
|
|
626
|
-
|
|
627
|
-
ALIASES
|
|
628
|
-
$ springmicro plugins add
|
|
629
|
-
|
|
630
|
-
EXAMPLES
|
|
631
|
-
Install a plugin from npm registry.
|
|
632
|
-
|
|
633
|
-
$ springmicro plugins add myplugin
|
|
634
|
-
|
|
635
|
-
Install a plugin from a github url.
|
|
636
|
-
|
|
637
|
-
$ springmicro plugins add https://github.com/someuser/someplugin
|
|
638
|
-
|
|
639
|
-
Install a plugin from a github slug.
|
|
640
|
-
|
|
641
|
-
$ springmicro plugins add someuser/someplugin
|
|
642
|
-
```
|
|
643
|
-
|
|
644
|
-
## `springmicro plugins:inspect PLUGIN...`
|
|
645
|
-
|
|
646
|
-
Displays installation properties of a plugin.
|
|
647
|
-
|
|
648
|
-
```
|
|
649
|
-
USAGE
|
|
650
|
-
$ springmicro plugins inspect PLUGIN...
|
|
651
|
-
|
|
652
|
-
ARGUMENTS
|
|
653
|
-
PLUGIN... [default: .] Plugin to inspect.
|
|
654
|
-
|
|
655
|
-
FLAGS
|
|
656
|
-
-h, --help Show CLI help.
|
|
657
|
-
-v, --verbose
|
|
658
|
-
|
|
659
|
-
GLOBAL FLAGS
|
|
660
|
-
--json Format output as json.
|
|
661
|
-
|
|
662
|
-
DESCRIPTION
|
|
663
|
-
Displays installation properties of a plugin.
|
|
664
|
-
|
|
665
|
-
EXAMPLES
|
|
666
|
-
$ springmicro plugins inspect myplugin
|
|
667
|
-
```
|
|
668
|
-
|
|
669
|
-
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.4.17/src/commands/plugins/inspect.ts)_
|
|
670
|
-
|
|
671
|
-
## `springmicro plugins install PLUGIN`
|
|
672
|
-
|
|
673
|
-
Installs a plugin into springmicro.
|
|
674
|
-
|
|
675
|
-
```
|
|
676
|
-
USAGE
|
|
677
|
-
$ springmicro plugins install PLUGIN... [--json] [-f] [-h] [-s | -v]
|
|
678
|
-
|
|
679
|
-
ARGUMENTS
|
|
680
|
-
PLUGIN... Plugin to install.
|
|
681
|
-
|
|
682
|
-
FLAGS
|
|
683
|
-
-f, --force Force npm to fetch remote resources even if a local copy exists on disk.
|
|
684
|
-
-h, --help Show CLI help.
|
|
685
|
-
-s, --silent Silences npm output.
|
|
686
|
-
-v, --verbose Show verbose npm output.
|
|
687
|
-
|
|
688
|
-
GLOBAL FLAGS
|
|
689
|
-
--json Format output as json.
|
|
690
|
-
|
|
691
|
-
DESCRIPTION
|
|
692
|
-
Installs a plugin into springmicro.
|
|
693
|
-
|
|
694
|
-
Uses npm to install plugins.
|
|
695
|
-
|
|
696
|
-
Installation of a user-installed plugin will override a core plugin.
|
|
697
|
-
|
|
698
|
-
Use the SPRINGMICRO_NPM_LOG_LEVEL environment variable to set the npm loglevel.
|
|
699
|
-
Use the SPRINGMICRO_NPM_REGISTRY environment variable to set the npm registry.
|
|
700
|
-
|
|
701
|
-
ALIASES
|
|
702
|
-
$ springmicro plugins add
|
|
703
|
-
|
|
704
|
-
EXAMPLES
|
|
705
|
-
Install a plugin from npm registry.
|
|
706
|
-
|
|
707
|
-
$ springmicro plugins install myplugin
|
|
708
|
-
|
|
709
|
-
Install a plugin from a github url.
|
|
710
|
-
|
|
711
|
-
$ springmicro plugins install https://github.com/someuser/someplugin
|
|
712
|
-
|
|
713
|
-
Install a plugin from a github slug.
|
|
714
|
-
|
|
715
|
-
$ springmicro plugins install someuser/someplugin
|
|
716
|
-
```
|
|
717
|
-
|
|
718
|
-
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.4.17/src/commands/plugins/install.ts)_
|
|
719
|
-
|
|
720
|
-
## `springmicro plugins link PATH`
|
|
721
|
-
|
|
722
|
-
Links a plugin into the CLI for development.
|
|
723
|
-
|
|
724
|
-
```
|
|
725
|
-
USAGE
|
|
726
|
-
$ springmicro plugins link PATH [-h] [--install] [-v]
|
|
727
|
-
|
|
728
|
-
ARGUMENTS
|
|
729
|
-
PATH [default: .] path to plugin
|
|
730
|
-
|
|
731
|
-
FLAGS
|
|
732
|
-
-h, --help Show CLI help.
|
|
733
|
-
-v, --verbose
|
|
734
|
-
--[no-]install Install dependencies after linking the plugin.
|
|
735
|
-
|
|
736
|
-
DESCRIPTION
|
|
737
|
-
Links a plugin into the CLI for development.
|
|
738
|
-
|
|
739
|
-
Installation of a linked plugin will override a user-installed or core plugin.
|
|
740
|
-
|
|
741
|
-
e.g. If you have a user-installed or core plugin that has a 'hello' command, installing a linked plugin with a 'hello'
|
|
742
|
-
command will override the user-installed or core plugin implementation. This is useful for development work.
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
EXAMPLES
|
|
746
|
-
$ springmicro plugins link myplugin
|
|
747
|
-
```
|
|
748
|
-
|
|
749
|
-
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.4.17/src/commands/plugins/link.ts)_
|
|
750
|
-
|
|
751
|
-
## `springmicro plugins remove [PLUGIN]`
|
|
752
|
-
|
|
753
|
-
Removes a plugin from the CLI.
|
|
754
|
-
|
|
755
|
-
```
|
|
756
|
-
USAGE
|
|
757
|
-
$ springmicro plugins remove [PLUGIN...] [-h] [-v]
|
|
758
|
-
|
|
759
|
-
ARGUMENTS
|
|
760
|
-
PLUGIN... plugin to uninstall
|
|
761
|
-
|
|
762
|
-
FLAGS
|
|
763
|
-
-h, --help Show CLI help.
|
|
764
|
-
-v, --verbose
|
|
765
|
-
|
|
766
|
-
DESCRIPTION
|
|
767
|
-
Removes a plugin from the CLI.
|
|
768
|
-
|
|
769
|
-
ALIASES
|
|
770
|
-
$ springmicro plugins unlink
|
|
771
|
-
$ springmicro plugins remove
|
|
772
|
-
|
|
773
|
-
EXAMPLES
|
|
774
|
-
$ springmicro plugins remove myplugin
|
|
775
|
-
```
|
|
776
|
-
|
|
777
|
-
## `springmicro plugins reset`
|
|
778
|
-
|
|
779
|
-
Remove all user-installed and linked plugins.
|
|
780
|
-
|
|
781
|
-
```
|
|
782
|
-
USAGE
|
|
783
|
-
$ springmicro plugins reset [--hard] [--reinstall]
|
|
784
|
-
|
|
785
|
-
FLAGS
|
|
786
|
-
--hard Delete node_modules and package manager related files in addition to uninstalling plugins.
|
|
787
|
-
--reinstall Reinstall all plugins after uninstalling.
|
|
788
|
-
```
|
|
789
|
-
|
|
790
|
-
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.4.17/src/commands/plugins/reset.ts)_
|
|
791
|
-
|
|
792
|
-
## `springmicro plugins uninstall [PLUGIN]`
|
|
793
|
-
|
|
794
|
-
Removes a plugin from the CLI.
|
|
795
|
-
|
|
796
|
-
```
|
|
797
|
-
USAGE
|
|
798
|
-
$ springmicro plugins uninstall [PLUGIN...] [-h] [-v]
|
|
799
|
-
|
|
800
|
-
ARGUMENTS
|
|
801
|
-
PLUGIN... plugin to uninstall
|
|
802
|
-
|
|
803
|
-
FLAGS
|
|
804
|
-
-h, --help Show CLI help.
|
|
805
|
-
-v, --verbose
|
|
806
|
-
|
|
807
|
-
DESCRIPTION
|
|
808
|
-
Removes a plugin from the CLI.
|
|
809
|
-
|
|
810
|
-
ALIASES
|
|
811
|
-
$ springmicro plugins unlink
|
|
812
|
-
$ springmicro plugins remove
|
|
813
|
-
|
|
814
|
-
EXAMPLES
|
|
815
|
-
$ springmicro plugins uninstall myplugin
|
|
816
|
-
```
|
|
817
|
-
|
|
818
|
-
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.4.17/src/commands/plugins/uninstall.ts)_
|
|
819
|
-
|
|
820
|
-
## `springmicro plugins unlink [PLUGIN]`
|
|
821
|
-
|
|
822
|
-
Removes a plugin from the CLI.
|
|
823
|
-
|
|
824
|
-
```
|
|
825
|
-
USAGE
|
|
826
|
-
$ springmicro plugins unlink [PLUGIN...] [-h] [-v]
|
|
827
|
-
|
|
828
|
-
ARGUMENTS
|
|
829
|
-
PLUGIN... plugin to uninstall
|
|
830
|
-
|
|
831
|
-
FLAGS
|
|
832
|
-
-h, --help Show CLI help.
|
|
833
|
-
-v, --verbose
|
|
834
|
-
|
|
835
|
-
DESCRIPTION
|
|
836
|
-
Removes a plugin from the CLI.
|
|
837
|
-
|
|
838
|
-
ALIASES
|
|
839
|
-
$ springmicro plugins unlink
|
|
840
|
-
$ springmicro plugins remove
|
|
841
|
-
|
|
842
|
-
EXAMPLES
|
|
843
|
-
$ springmicro plugins unlink myplugin
|
|
844
|
-
```
|
|
845
|
-
|
|
846
|
-
## `springmicro plugins update`
|
|
847
|
-
|
|
848
|
-
Update installed plugins.
|
|
849
|
-
|
|
850
|
-
```
|
|
851
|
-
USAGE
|
|
852
|
-
$ springmicro plugins update [-h] [-v]
|
|
853
|
-
|
|
854
|
-
FLAGS
|
|
855
|
-
-h, --help Show CLI help.
|
|
856
|
-
-v, --verbose
|
|
857
|
-
|
|
858
|
-
DESCRIPTION
|
|
859
|
-
Update installed plugins.
|
|
860
|
-
```
|
|
861
|
-
|
|
862
|
-
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.4.17/src/commands/plugins/update.ts)_
|
|
863
|
-
<!-- commandsstop -->
|
|
864
|
-
|
|
865
|
-
# Development
|
|
866
|
-
|
|
867
|
-
See [https://oclif.io/docs/templates](https://oclif.io/docs/templates) for details about running the CLI in development.
|
|
868
|
-
|
|
869
|
-
The generated CLI project contains 4 bin scripts that you can use for either production or development.
|
|
870
|
-
|
|
871
|
-
- `bin/run.js` - Run the CLI in production (macOS and Linux)
|
|
872
|
-
- `bin/dev.js` - Run the CLI in development (macOS and Linux)
|
|
873
|
-
- `bin/run.cmd` - Run the CLI in production (Windows)
|
|
440
|
+
<!-- commandsstop -->
|
|
441
|
+
|
|
442
|
+
# Development
|
|
443
|
+
|
|
444
|
+
See [https://oclif.io/docs/templates](https://oclif.io/docs/templates) for details about running the CLI in development.
|
|
445
|
+
|
|
446
|
+
The generated CLI project contains 4 bin scripts that you can use for either production or development.
|
|
447
|
+
|
|
448
|
+
- `bin/run.js` - Run the CLI in production (macOS and Linux)
|
|
449
|
+
- `bin/dev.js` - Run the CLI in development (macOS and Linux)
|
|
450
|
+
- `bin/run.cmd` - Run the CLI in production (Windows)
|
|
874
451
|
- `bin/dev.cmd` - Run the CLI in development (Windows)
|
package/oclif.manifest.json
CHANGED
|
@@ -1,60 +1,41 @@
|
|
|
1
1
|
{
|
|
2
2
|
"commands": {
|
|
3
|
-
"
|
|
3
|
+
"add:auth": {
|
|
4
4
|
"aliases": [],
|
|
5
5
|
"args": {},
|
|
6
|
-
"description": "
|
|
6
|
+
"description": "describe the command here",
|
|
7
7
|
"examples": [
|
|
8
|
-
"<%= config.bin %> <%= command.id %>
|
|
8
|
+
"<%= config.bin %> <%= command.id %>"
|
|
9
9
|
],
|
|
10
|
-
"flags": {
|
|
11
|
-
"name": {
|
|
12
|
-
"char": "n",
|
|
13
|
-
"description": "Project name",
|
|
14
|
-
"name": "name",
|
|
15
|
-
"required": true,
|
|
16
|
-
"hasDynamicHelp": false,
|
|
17
|
-
"multiple": false,
|
|
18
|
-
"type": "option"
|
|
19
|
-
}
|
|
20
|
-
},
|
|
10
|
+
"flags": {},
|
|
21
11
|
"hasDynamicHelp": false,
|
|
22
12
|
"hiddenAliases": [],
|
|
23
|
-
"id": "
|
|
13
|
+
"id": "add:auth",
|
|
24
14
|
"pluginAlias": "@springmicro/cli",
|
|
25
15
|
"pluginName": "@springmicro/cli",
|
|
26
16
|
"pluginType": "core",
|
|
27
17
|
"strict": true,
|
|
28
18
|
"enableJsonFlag": false,
|
|
29
|
-
"step": 1,
|
|
30
|
-
"totalSteps": 2,
|
|
31
19
|
"isESM": true,
|
|
32
20
|
"relativePath": [
|
|
33
21
|
"dist",
|
|
34
22
|
"commands",
|
|
35
|
-
"
|
|
36
|
-
"
|
|
23
|
+
"add",
|
|
24
|
+
"auth.js"
|
|
37
25
|
]
|
|
38
26
|
},
|
|
39
|
-
"
|
|
27
|
+
"add:form": {
|
|
40
28
|
"aliases": [],
|
|
41
|
-
"args": {
|
|
42
|
-
|
|
43
|
-
"description": "Project type (astro)",
|
|
44
|
-
"name": "projectType",
|
|
45
|
-
"required": true
|
|
46
|
-
}
|
|
47
|
-
},
|
|
48
|
-
"description": "Initialize a JavaScript framework project according to SpringMicroHost's specifications.",
|
|
29
|
+
"args": {},
|
|
30
|
+
"description": "add a form to your project",
|
|
49
31
|
"examples": [
|
|
50
|
-
"<%= config.bin %> <%= command.id %>
|
|
32
|
+
"<%= config.bin %> <%= command.id %>"
|
|
51
33
|
],
|
|
52
34
|
"flags": {
|
|
53
|
-
"
|
|
54
|
-
"char": "
|
|
55
|
-
"description": "
|
|
56
|
-
"name": "
|
|
57
|
-
"required": true,
|
|
35
|
+
"template": {
|
|
36
|
+
"char": "t",
|
|
37
|
+
"description": "form template (contact|quote)",
|
|
38
|
+
"name": "template",
|
|
58
39
|
"hasDynamicHelp": false,
|
|
59
40
|
"multiple": false,
|
|
60
41
|
"type": "option"
|
|
@@ -62,7 +43,7 @@
|
|
|
62
43
|
},
|
|
63
44
|
"hasDynamicHelp": false,
|
|
64
45
|
"hiddenAliases": [],
|
|
65
|
-
"id": "
|
|
46
|
+
"id": "add:form",
|
|
66
47
|
"pluginAlias": "@springmicro/cli",
|
|
67
48
|
"pluginName": "@springmicro/cli",
|
|
68
49
|
"pluginType": "core",
|
|
@@ -72,46 +53,65 @@
|
|
|
72
53
|
"relativePath": [
|
|
73
54
|
"dist",
|
|
74
55
|
"commands",
|
|
75
|
-
"
|
|
76
|
-
"
|
|
56
|
+
"add",
|
|
57
|
+
"form.js"
|
|
77
58
|
]
|
|
78
59
|
},
|
|
79
|
-
"
|
|
60
|
+
"init:astro": {
|
|
80
61
|
"aliases": [],
|
|
81
62
|
"args": {},
|
|
82
|
-
"description": "
|
|
63
|
+
"description": "Initialize a Astro project according to SpringMicroHost's specifications.",
|
|
83
64
|
"examples": [
|
|
84
|
-
"<%= config.bin %> <%= command.id %>"
|
|
65
|
+
"<%= config.bin %> <%= command.id %> -n <project-name>"
|
|
85
66
|
],
|
|
86
|
-
"flags": {
|
|
67
|
+
"flags": {
|
|
68
|
+
"name": {
|
|
69
|
+
"char": "n",
|
|
70
|
+
"description": "Project name",
|
|
71
|
+
"name": "name",
|
|
72
|
+
"required": true,
|
|
73
|
+
"hasDynamicHelp": false,
|
|
74
|
+
"multiple": false,
|
|
75
|
+
"type": "option"
|
|
76
|
+
}
|
|
77
|
+
},
|
|
87
78
|
"hasDynamicHelp": false,
|
|
88
79
|
"hiddenAliases": [],
|
|
89
|
-
"id": "
|
|
80
|
+
"id": "init:astro",
|
|
90
81
|
"pluginAlias": "@springmicro/cli",
|
|
91
82
|
"pluginName": "@springmicro/cli",
|
|
92
83
|
"pluginType": "core",
|
|
93
84
|
"strict": true,
|
|
94
85
|
"enableJsonFlag": false,
|
|
86
|
+
"step": 1,
|
|
87
|
+
"totalSteps": 2,
|
|
95
88
|
"isESM": true,
|
|
96
89
|
"relativePath": [
|
|
97
90
|
"dist",
|
|
98
91
|
"commands",
|
|
99
|
-
"
|
|
100
|
-
"
|
|
92
|
+
"init",
|
|
93
|
+
"astro.js"
|
|
101
94
|
]
|
|
102
95
|
},
|
|
103
|
-
"
|
|
96
|
+
"init": {
|
|
104
97
|
"aliases": [],
|
|
105
|
-
"args": {
|
|
106
|
-
|
|
98
|
+
"args": {
|
|
99
|
+
"projectType": {
|
|
100
|
+
"description": "Project type (astro)",
|
|
101
|
+
"name": "projectType",
|
|
102
|
+
"required": true
|
|
103
|
+
}
|
|
104
|
+
},
|
|
105
|
+
"description": "Initialize a JavaScript framework project according to SpringMicroHost's specifications.",
|
|
107
106
|
"examples": [
|
|
108
|
-
"<%= config.bin %> <%= command.id %>"
|
|
107
|
+
"<%= config.bin %> <%= command.id %> astro -n example"
|
|
109
108
|
],
|
|
110
109
|
"flags": {
|
|
111
|
-
"
|
|
112
|
-
"char": "
|
|
113
|
-
"description": "
|
|
114
|
-
"name": "
|
|
110
|
+
"name": {
|
|
111
|
+
"char": "n",
|
|
112
|
+
"description": "Project name",
|
|
113
|
+
"name": "name",
|
|
114
|
+
"required": true,
|
|
115
115
|
"hasDynamicHelp": false,
|
|
116
116
|
"multiple": false,
|
|
117
117
|
"type": "option"
|
|
@@ -119,7 +119,7 @@
|
|
|
119
119
|
},
|
|
120
120
|
"hasDynamicHelp": false,
|
|
121
121
|
"hiddenAliases": [],
|
|
122
|
-
"id": "
|
|
122
|
+
"id": "init",
|
|
123
123
|
"pluginAlias": "@springmicro/cli",
|
|
124
124
|
"pluginName": "@springmicro/cli",
|
|
125
125
|
"pluginType": "core",
|
|
@@ -129,10 +129,10 @@
|
|
|
129
129
|
"relativePath": [
|
|
130
130
|
"dist",
|
|
131
131
|
"commands",
|
|
132
|
-
"
|
|
133
|
-
"
|
|
132
|
+
"init",
|
|
133
|
+
"index.js"
|
|
134
134
|
]
|
|
135
135
|
}
|
|
136
136
|
},
|
|
137
|
-
"version": "0.5.
|
|
137
|
+
"version": "0.5.17"
|
|
138
138
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@springmicro/cli",
|
|
3
3
|
"description": "A new CLI generated with oclif",
|
|
4
|
-
"version": "0.5.
|
|
4
|
+
"version": "0.5.17",
|
|
5
5
|
"author": "David Buckley",
|
|
6
6
|
"private": false,
|
|
7
7
|
"publishConfig": {
|
|
@@ -76,5 +76,5 @@
|
|
|
76
76
|
"version": "oclif readme && git add README.md"
|
|
77
77
|
},
|
|
78
78
|
"types": "dist/index.d.ts",
|
|
79
|
-
"gitHead": "
|
|
79
|
+
"gitHead": "915dac621fa9bf06ffe49dadd56452f28bbd5737"
|
|
80
80
|
}
|