@springmicro/cli 0.2.0-alpha.2 → 0.2.0

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 CHANGED
@@ -12,6 +12,11 @@ Command line utilities for SpringMicroHost.
12
12
  * [Commands](#commands)
13
13
  * [Development](#development)
14
14
  <!-- tocstop -->
15
+ * [@springmicro/cli](#springmicrocli)
16
+ * [Usage](#usage)
17
+ * [Commands](#commands)
18
+ * [Development](#development)
19
+ <!-- tocstop -->
15
20
 
16
21
  - [@springmicro/cli](#springmicrocli)
17
22
  - [Usage](#usage)
@@ -26,13 +31,25 @@ $ npm install -g @springmicro/cli
26
31
  $ springmicro COMMAND
27
32
  running command...
28
33
  $ springmicro (--version)
29
- @springmicro/cli/0.2.0-alpha.2 win32-x64 node-v20.15.0
34
+ @springmicro/cli/0.2.0 win32-x64 node-v20.15.0
30
35
  $ springmicro --help [COMMAND]
31
36
  USAGE
32
37
  $ springmicro COMMAND
33
38
  ...
34
39
  ```
35
40
  <!-- usagestop -->
41
+ ```sh-session
42
+ $ npm install -g @springmicro/cli
43
+ $ springmicro COMMAND
44
+ running command...
45
+ $ springmicro (--version)
46
+ @springmicro/cli/0.2.0-alpha.3 win32-x64 node-v20.15.0
47
+ $ springmicro --help [COMMAND]
48
+ USAGE
49
+ $ springmicro COMMAND
50
+ ...
51
+ ```
52
+ <!-- usagestop -->
36
53
 
37
54
  ```sh-session
38
55
  $ npm install -g @springmicro/cli
@@ -81,7 +98,7 @@ EXAMPLES
81
98
  $ springmicro add auth
82
99
  ```
83
100
 
84
- _See code: [src/commands/add/auth.ts](https://github.com/SpringMicro1/springmicrohost-js/blob/v0.2.0-alpha.2/src/commands/add/auth.ts)_
101
+ _See code: [src/commands/add/auth.ts](https://github.com/SpringMicro1/springmicrohost-js/blob/v0.2.0/src/commands/add/auth.ts)_
85
102
 
86
103
  ## `springmicro help [COMMAND]`
87
104
 
@@ -101,7 +118,7 @@ DESCRIPTION
101
118
  Display help for springmicro.
102
119
  ```
103
120
 
104
- _See code: [@oclif/plugin-help](https://github.com/oclif/plugin-help/blob/v6.2.5/src/commands/help.ts)_
121
+ _See code: [@oclif/plugin-help](https://github.com/oclif/plugin-help/blob/v6.2.7/src/commands/help.ts)_
105
122
 
106
123
  ## `springmicro init PROJECTTYPE`
107
124
 
@@ -124,7 +141,7 @@ EXAMPLES
124
141
  $ springmicro init astro -n example
125
142
  ```
126
143
 
127
- _See code: [src/commands/init/index.ts](https://github.com/SpringMicro1/springmicrohost-js/blob/v0.2.0-alpha.2/src/commands/init/index.ts)_
144
+ _See code: [src/commands/init/index.ts](https://github.com/SpringMicro1/springmicrohost-js/blob/v0.2.0/src/commands/init/index.ts)_
128
145
 
129
146
  ## `springmicro init astro`
130
147
 
@@ -144,7 +161,7 @@ EXAMPLES
144
161
  $ springmicro init astro -n <project-name>
145
162
  ```
146
163
 
147
- _See code: [src/commands/init/astro.ts](https://github.com/SpringMicro1/springmicrohost-js/blob/v0.2.0-alpha.2/src/commands/init/astro.ts)_
164
+ _See code: [src/commands/init/astro.ts](https://github.com/SpringMicro1/springmicrohost-js/blob/v0.2.0/src/commands/init/astro.ts)_
148
165
 
149
166
  ## `springmicro plugins`
150
167
 
@@ -167,7 +184,7 @@ EXAMPLES
167
184
  $ springmicro plugins
168
185
  ```
169
186
 
170
- _See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.3.4/src/commands/plugins/index.ts)_
187
+ _See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.3.9/src/commands/plugins/index.ts)_
171
188
 
172
189
  ## `springmicro plugins add PLUGIN`
173
190
 
@@ -241,7 +258,7 @@ EXAMPLES
241
258
  $ springmicro plugins inspect myplugin
242
259
  ```
243
260
 
244
- _See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.3.4/src/commands/plugins/inspect.ts)_
261
+ _See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.3.9/src/commands/plugins/inspect.ts)_
245
262
 
246
263
  ## `springmicro plugins install PLUGIN`
247
264
 
@@ -290,7 +307,7 @@ EXAMPLES
290
307
  $ springmicro plugins install someuser/someplugin
291
308
  ```
292
309
 
293
- _See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.3.4/src/commands/plugins/install.ts)_
310
+ _See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.3.9/src/commands/plugins/install.ts)_
294
311
 
295
312
  ## `springmicro plugins link PATH`
296
313
 
@@ -320,7 +337,7 @@ EXAMPLES
320
337
  $ springmicro plugins link myplugin
321
338
  ```
322
339
 
323
- _See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.3.4/src/commands/plugins/link.ts)_
340
+ _See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.3.9/src/commands/plugins/link.ts)_
324
341
 
325
342
  ## `springmicro plugins remove [PLUGIN]`
326
343
 
@@ -361,7 +378,7 @@ FLAGS
361
378
  --reinstall Reinstall all plugins after uninstalling.
362
379
  ```
363
380
 
364
- _See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.3.4/src/commands/plugins/reset.ts)_
381
+ _See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.3.9/src/commands/plugins/reset.ts)_
365
382
 
366
383
  ## `springmicro plugins uninstall [PLUGIN]`
367
384
 
@@ -389,7 +406,7 @@ EXAMPLES
389
406
  $ springmicro plugins uninstall myplugin
390
407
  ```
391
408
 
392
- _See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.3.4/src/commands/plugins/uninstall.ts)_
409
+ _See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.3.9/src/commands/plugins/uninstall.ts)_
393
410
 
394
411
  ## `springmicro plugins unlink [PLUGIN]`
395
412
 
@@ -433,7 +450,391 @@ DESCRIPTION
433
450
  Update installed plugins.
434
451
  ```
435
452
 
436
- _See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.3.4/src/commands/plugins/update.ts)_
453
+ _See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.3.9/src/commands/plugins/update.ts)_
454
+ <!-- commandsstop -->
455
+ * [`springmicro add auth`](#springmicro-add-auth)
456
+ * [`springmicro help [COMMAND]`](#springmicro-help-command)
457
+ * [`springmicro init PROJECTTYPE`](#springmicro-init-projecttype)
458
+ * [`springmicro init astro`](#springmicro-init-astro)
459
+ * [`springmicro plugins`](#springmicro-plugins)
460
+ * [`springmicro plugins add PLUGIN`](#springmicro-plugins-add-plugin)
461
+ * [`springmicro plugins:inspect PLUGIN...`](#springmicro-pluginsinspect-plugin)
462
+ * [`springmicro plugins install PLUGIN`](#springmicro-plugins-install-plugin)
463
+ * [`springmicro plugins link PATH`](#springmicro-plugins-link-path)
464
+ * [`springmicro plugins remove [PLUGIN]`](#springmicro-plugins-remove-plugin)
465
+ * [`springmicro plugins reset`](#springmicro-plugins-reset)
466
+ * [`springmicro plugins uninstall [PLUGIN]`](#springmicro-plugins-uninstall-plugin)
467
+ * [`springmicro plugins unlink [PLUGIN]`](#springmicro-plugins-unlink-plugin)
468
+ * [`springmicro plugins update`](#springmicro-plugins-update)
469
+
470
+ ## `springmicro add auth`
471
+
472
+ describe the command here
473
+
474
+ ```
475
+ USAGE
476
+ $ springmicro add auth
477
+
478
+ DESCRIPTION
479
+ describe the command here
480
+
481
+ EXAMPLES
482
+ $ springmicro add auth
483
+ ```
484
+
485
+ _See code: [src/commands/add/auth.ts](https://github.com/SpringMicro1/springmicrohost-js/blob/v0.2.0-alpha.3/src/commands/add/auth.ts)_
486
+
487
+ ## `springmicro help [COMMAND]`
488
+
489
+ Display help for springmicro.
490
+
491
+ ```
492
+ USAGE
493
+ $ springmicro help [COMMAND...] [-n]
494
+
495
+ ARGUMENTS
496
+ COMMAND... Command to show help for.
497
+
498
+ FLAGS
499
+ -n, --nested-commands Include all nested commands in the output.
500
+
501
+ DESCRIPTION
502
+ Display help for springmicro.
503
+ ```
504
+
505
+ _See code: [@oclif/plugin-help](https://github.com/oclif/plugin-help/blob/v6.2.5/src/commands/help.ts)_
506
+
507
+ ## `springmicro init PROJECTTYPE`
508
+
509
+ Initialize a JavaScript framework project according to SpringMicroHost's specifications.
510
+
511
+ ```
512
+ USAGE
513
+ $ springmicro init PROJECTTYPE -n <value>
514
+
515
+ ARGUMENTS
516
+ PROJECTTYPE Project type (astro)
517
+
518
+ FLAGS
519
+ -n, --name=<value> (required) Project name
520
+
521
+ DESCRIPTION
522
+ Initialize a JavaScript framework project according to SpringMicroHost's specifications.
523
+
524
+ EXAMPLES
525
+ $ springmicro init astro -n example
526
+ ```
527
+
528
+ _See code: [src/commands/init/index.ts](https://github.com/SpringMicro1/springmicrohost-js/blob/v0.2.0-alpha.3/src/commands/init/index.ts)_
529
+
530
+ ## `springmicro init astro`
531
+
532
+ Initialize a Astro project according to SpringMicroHost's specifications.
533
+
534
+ ```
535
+ USAGE
536
+ $ springmicro init astro -n <value>
537
+
538
+ FLAGS
539
+ -n, --name=<value> (required) Project name
540
+
541
+ DESCRIPTION
542
+ Initialize a Astro project according to SpringMicroHost's specifications.
543
+
544
+ EXAMPLES
545
+ $ springmicro init astro -n <project-name>
546
+ ```
547
+
548
+ _See code: [src/commands/init/astro.ts](https://github.com/SpringMicro1/springmicrohost-js/blob/v0.2.0-alpha.3/src/commands/init/astro.ts)_
549
+
550
+ ## `springmicro plugins`
551
+
552
+ List installed plugins.
553
+
554
+ ```
555
+ USAGE
556
+ $ springmicro plugins [--json] [--core]
557
+
558
+ FLAGS
559
+ --core Show core plugins.
560
+
561
+ GLOBAL FLAGS
562
+ --json Format output as json.
563
+
564
+ DESCRIPTION
565
+ List installed plugins.
566
+
567
+ EXAMPLES
568
+ $ springmicro plugins
569
+ ```
570
+
571
+ _See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.3.4/src/commands/plugins/index.ts)_
572
+
573
+ ## `springmicro plugins add PLUGIN`
574
+
575
+ Installs a plugin into springmicro.
576
+
577
+ ```
578
+ USAGE
579
+ $ springmicro plugins add PLUGIN... [--json] [-f] [-h] [-s | -v]
580
+
581
+ ARGUMENTS
582
+ PLUGIN... Plugin to install.
583
+
584
+ FLAGS
585
+ -f, --force Force npm to fetch remote resources even if a local copy exists on disk.
586
+ -h, --help Show CLI help.
587
+ -s, --silent Silences npm output.
588
+ -v, --verbose Show verbose npm output.
589
+
590
+ GLOBAL FLAGS
591
+ --json Format output as json.
592
+
593
+ DESCRIPTION
594
+ Installs a plugin into springmicro.
595
+
596
+ Uses npm to install plugins.
597
+
598
+ Installation of a user-installed plugin will override a core plugin.
599
+
600
+ Use the SPRINGMICRO_NPM_LOG_LEVEL environment variable to set the npm loglevel.
601
+ Use the SPRINGMICRO_NPM_REGISTRY environment variable to set the npm registry.
602
+
603
+ ALIASES
604
+ $ springmicro plugins add
605
+
606
+ EXAMPLES
607
+ Install a plugin from npm registry.
608
+
609
+ $ springmicro plugins add myplugin
610
+
611
+ Install a plugin from a github url.
612
+
613
+ $ springmicro plugins add https://github.com/someuser/someplugin
614
+
615
+ Install a plugin from a github slug.
616
+
617
+ $ springmicro plugins add someuser/someplugin
618
+ ```
619
+
620
+ ## `springmicro plugins:inspect PLUGIN...`
621
+
622
+ Displays installation properties of a plugin.
623
+
624
+ ```
625
+ USAGE
626
+ $ springmicro plugins inspect PLUGIN...
627
+
628
+ ARGUMENTS
629
+ PLUGIN... [default: .] Plugin to inspect.
630
+
631
+ FLAGS
632
+ -h, --help Show CLI help.
633
+ -v, --verbose
634
+
635
+ GLOBAL FLAGS
636
+ --json Format output as json.
637
+
638
+ DESCRIPTION
639
+ Displays installation properties of a plugin.
640
+
641
+ EXAMPLES
642
+ $ springmicro plugins inspect myplugin
643
+ ```
644
+
645
+ _See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.3.4/src/commands/plugins/inspect.ts)_
646
+
647
+ ## `springmicro plugins install PLUGIN`
648
+
649
+ Installs a plugin into springmicro.
650
+
651
+ ```
652
+ USAGE
653
+ $ springmicro plugins install PLUGIN... [--json] [-f] [-h] [-s | -v]
654
+
655
+ ARGUMENTS
656
+ PLUGIN... Plugin to install.
657
+
658
+ FLAGS
659
+ -f, --force Force npm to fetch remote resources even if a local copy exists on disk.
660
+ -h, --help Show CLI help.
661
+ -s, --silent Silences npm output.
662
+ -v, --verbose Show verbose npm output.
663
+
664
+ GLOBAL FLAGS
665
+ --json Format output as json.
666
+
667
+ DESCRIPTION
668
+ Installs a plugin into springmicro.
669
+
670
+ Uses npm to install plugins.
671
+
672
+ Installation of a user-installed plugin will override a core plugin.
673
+
674
+ Use the SPRINGMICRO_NPM_LOG_LEVEL environment variable to set the npm loglevel.
675
+ Use the SPRINGMICRO_NPM_REGISTRY environment variable to set the npm registry.
676
+
677
+ ALIASES
678
+ $ springmicro plugins add
679
+
680
+ EXAMPLES
681
+ Install a plugin from npm registry.
682
+
683
+ $ springmicro plugins install myplugin
684
+
685
+ Install a plugin from a github url.
686
+
687
+ $ springmicro plugins install https://github.com/someuser/someplugin
688
+
689
+ Install a plugin from a github slug.
690
+
691
+ $ springmicro plugins install someuser/someplugin
692
+ ```
693
+
694
+ _See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.3.4/src/commands/plugins/install.ts)_
695
+
696
+ ## `springmicro plugins link PATH`
697
+
698
+ Links a plugin into the CLI for development.
699
+
700
+ ```
701
+ USAGE
702
+ $ springmicro plugins link PATH [-h] [--install] [-v]
703
+
704
+ ARGUMENTS
705
+ PATH [default: .] path to plugin
706
+
707
+ FLAGS
708
+ -h, --help Show CLI help.
709
+ -v, --verbose
710
+ --[no-]install Install dependencies after linking the plugin.
711
+
712
+ DESCRIPTION
713
+ Links a plugin into the CLI for development.
714
+ Installation of a linked plugin will override a user-installed or core plugin.
715
+
716
+ e.g. If you have a user-installed or core plugin that has a 'hello' command, installing a linked plugin with a 'hello'
717
+ command will override the user-installed or core plugin implementation. This is useful for development work.
718
+
719
+
720
+ EXAMPLES
721
+ $ springmicro plugins link myplugin
722
+ ```
723
+
724
+ _See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.3.4/src/commands/plugins/link.ts)_
725
+
726
+ ## `springmicro plugins remove [PLUGIN]`
727
+
728
+ Removes a plugin from the CLI.
729
+
730
+ ```
731
+ USAGE
732
+ $ springmicro plugins remove [PLUGIN...] [-h] [-v]
733
+
734
+ ARGUMENTS
735
+ PLUGIN... plugin to uninstall
736
+
737
+ FLAGS
738
+ -h, --help Show CLI help.
739
+ -v, --verbose
740
+
741
+ DESCRIPTION
742
+ Removes a plugin from the CLI.
743
+
744
+ ALIASES
745
+ $ springmicro plugins unlink
746
+ $ springmicro plugins remove
747
+
748
+ EXAMPLES
749
+ $ springmicro plugins remove myplugin
750
+ ```
751
+
752
+ ## `springmicro plugins reset`
753
+
754
+ Remove all user-installed and linked plugins.
755
+
756
+ ```
757
+ USAGE
758
+ $ springmicro plugins reset [--hard] [--reinstall]
759
+
760
+ FLAGS
761
+ --hard Delete node_modules and package manager related files in addition to uninstalling plugins.
762
+ --reinstall Reinstall all plugins after uninstalling.
763
+ ```
764
+
765
+ _See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.3.4/src/commands/plugins/reset.ts)_
766
+
767
+ ## `springmicro plugins uninstall [PLUGIN]`
768
+
769
+ Removes a plugin from the CLI.
770
+
771
+ ```
772
+ USAGE
773
+ $ springmicro plugins uninstall [PLUGIN...] [-h] [-v]
774
+
775
+ ARGUMENTS
776
+ PLUGIN... plugin to uninstall
777
+
778
+ FLAGS
779
+ -h, --help Show CLI help.
780
+ -v, --verbose
781
+
782
+ DESCRIPTION
783
+ Removes a plugin from the CLI.
784
+
785
+ ALIASES
786
+ $ springmicro plugins unlink
787
+ $ springmicro plugins remove
788
+
789
+ EXAMPLES
790
+ $ springmicro plugins uninstall myplugin
791
+ ```
792
+
793
+ _See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.3.4/src/commands/plugins/uninstall.ts)_
794
+
795
+ ## `springmicro plugins unlink [PLUGIN]`
796
+
797
+ Removes a plugin from the CLI.
798
+
799
+ ```
800
+ USAGE
801
+ $ springmicro plugins unlink [PLUGIN...] [-h] [-v]
802
+
803
+ ARGUMENTS
804
+ PLUGIN... plugin to uninstall
805
+
806
+ FLAGS
807
+ -h, --help Show CLI help.
808
+ -v, --verbose
809
+
810
+ DESCRIPTION
811
+ Removes a plugin from the CLI.
812
+
813
+ ALIASES
814
+ $ springmicro plugins unlink
815
+ $ springmicro plugins remove
816
+
817
+ EXAMPLES
818
+ $ springmicro plugins unlink myplugin
819
+ ```
820
+
821
+ ## `springmicro plugins update`
822
+
823
+ Update installed plugins.
824
+
825
+ ```
826
+ USAGE
827
+ $ springmicro plugins update [-h] [-v]
828
+
829
+ FLAGS
830
+ -h, --help Show CLI help.
831
+ -v, --verbose
832
+
833
+ DESCRIPTION
834
+ Update installed plugins.
835
+ ```
836
+
837
+ _See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.3.4/src/commands/plugins/update.ts)_
437
838
  <!-- commandsstop -->
438
839
 
439
840
  - [`springmicro help [COMMAND]`](#springmicro-help-command)
@@ -101,5 +101,5 @@
101
101
  ]
102
102
  }
103
103
  },
104
- "version": "0.2.0-alpha.2"
104
+ "version": "0.2.0"
105
105
  }
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.2.0-alpha.2",
4
+ "version": "0.2.0",
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": "dbf0b4a9ec2e4023416638d4dcc6ac87e0d33d42"
79
+ "gitHead": "bada90b1f5c1efcd122b4a69436098408162677c"
80
80
  }