meocli 0.1.7 → 0.1.9

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
@@ -1,11 +1,11 @@
1
- # meocli
2
-
3
- Node CLI generated with oclif, Integrate Prettier
4
-
5
- [![oclif](https://img.shields.io/badge/cli-oclif-brightgreen.svg)](https://oclif.io)
6
- [![Version](https://img.shields.io/npm/v/meocli.svg)](https://npmjs.org/package/meocli)
7
- [![Downloads/week](https://img.shields.io/npm/dw/meocli.svg)](https://npmjs.org/package/meocli)
8
-
1
+ # meocli
2
+
3
+ Node CLI generated with oclif, Integrate Prettier
4
+
5
+ [![oclif](https://img.shields.io/badge/cli-oclif-brightgreen.svg)](https://oclif.io)
6
+ [![Version](https://img.shields.io/npm/v/meocli.svg)](https://npmjs.org/package/meocli)
7
+ [![Downloads/week](https://img.shields.io/npm/dw/meocli.svg)](https://npmjs.org/package/meocli)
8
+
9
9
  <!-- toc -->
10
10
  * [meocli](#meocli)
11
11
  * [Dev](#dev)
@@ -14,117 +14,137 @@ Node CLI generated with oclif, Integrate Prettier
14
14
  * [Publish](#publish)
15
15
  * [Usage](#usage)
16
16
  * [Commands](#commands)
17
- <!-- tocstop -->
18
-
19
- # Dev
20
-
21
- ```sh-session
22
- <!-- pnpm exec -->
23
- $ pnpm ncu # 检查更新
24
- $ pnpm ncu -u # 升级更新
25
- <!-- demo -->
26
- $ pnpm run dev hello foo
27
- $ pnpm run prod hello foo -f bar
28
- <!-- prettier -->
29
- $ pnpm run dev prettier ./tmp/test.svg --verbose
30
- $ pnpm run dev prettier ./tmp/test.json --config=auto --ignore=auto
31
- $ pnpm run dev prettier ./tmp/test.svg --config=built_in --ignore=auto
32
- ```
33
-
34
- # Prettier
35
-
36
- ```sh-session
37
- $ pnpm install -g meocli
38
- $ me prettier --help
39
- $ me prettier reset --verbose # 重置Prettier配置
40
- $ me prettier ./test.svg --verbose # 使用prettier格式化文件
41
- ```
42
-
43
- # Prettier.Vscode
44
-
45
- 1. `pnpm install -g meocli`
46
-
47
- 2. 配合vscode插件:[emeraldwalk.RunOnSave](https://marketplace.visualstudio.com/items?itemName=emeraldwalk.RunOnSave) 保存时自动格式化
48
- 3. 配置 `.vscode/settings.json` 添加 `"emeraldwalk.runonsave"` 节点,以下为参考配置⤵︎
49
-
50
- ```json
51
- "emeraldwalk.runonsave": {
52
- "commands": [
53
- {
54
- // prettier
55
- "match": "\\.(txt|ts|js|jsx|tsx|json|html|css|graphql|gql|yaml|yml|md)$",
56
- "notMatch": "node_modules/*$",
57
- "isAsync": true,
58
- "cmd": "me prettier \"${file}\""
59
- },
60
- {
61
- // @prettier/plugin-xml
62
- "match": "\\.(xml|svg)$",
63
- "isAsync": true,
64
- "cmd": "me prettier \"${file}\""
65
- },
66
- {
67
- // prettier-plugin-toml
68
- "match": "\\.(toml)$",
69
- "isAsync": true,
70
- "cmd": "me prettier \"${file}\""
71
- },
72
- {
73
- // prettier-plugin-nginx
74
- "match": "\\.(nginx)$",
75
- "isAsync": true,
76
- "cmd": "me prettier \"${file}\""
77
- },
78
- {
79
- // prettier-plugin-sh
80
- "match": "\\.(sh|env|Dockerfile|properties|gitignore|dockerignore|prettierignore)$",
81
- "notMatch": "\\.(nu)$",
82
- "isAsync": true,
83
- "cmd": "me prettier \"${file}\""
84
- },
85
- {
86
- // no-dot-ext
87
- "match": "Dockerfile$|web.config",
88
- "isAsync": true,
89
- "cmd": "me prettier \"${file}\""
90
- }
91
- ]
92
- }
93
- ```
94
-
95
- # Publish
96
-
97
- ```sh-session
98
- $ pnpm login
99
- $ pnpm build
100
- $ pnpm publish
101
- ```
102
-
103
- # Usage
104
-
17
+ <!-- tocstop -->
18
+ * [meocli](#meocli)
19
+ * [Dev](#dev)
20
+ * [Prettier](#prettier)
21
+ * [Prettier.Vscode](#prettiervscode)
22
+ * [Publish](#publish)
23
+ * [Usage](#usage)
24
+ * [Commands](#commands)
25
+ <!-- tocstop -->
26
+
27
+ # Dev
28
+
29
+ ```sh-session
30
+ <!-- pnpm exec -->
31
+ $ pnpm ncu # 检查更新
32
+ $ pnpm ncu -u # 升级更新
33
+ <!-- demo -->
34
+ $ pnpm run dev hello foo
35
+ $ pnpm run prod hello foo -f bar
36
+ <!-- prettier -->
37
+ $ pnpm run dev prettier ./tmp/test.svg --verbose
38
+ $ pnpm run dev prettier ./tmp/test.json --config=auto --ignore=auto
39
+ $ pnpm run dev prettier ./tmp/test.svg --config=built_in --ignore=auto
40
+ ```
41
+
42
+ # Prettier
43
+
44
+ ```sh-session
45
+ $ pnpm install -g meocli
46
+ $ me prettier --help
47
+ $ me prettier reset --verbose # 重置Prettier配置
48
+ $ me prettier ./test.svg --verbose # 使用prettier格式化文件
49
+ ```
50
+
51
+ # Prettier.Vscode
52
+
53
+ 1. `pnpm install -g meocli`
54
+
55
+ 2. 配合vscode插件:[emeraldwalk.RunOnSave](https://marketplace.visualstudio.com/items?itemName=emeraldwalk.RunOnSave) 保存时自动格式化
56
+ 3. 配置 `.vscode/settings.json` 添加 `"emeraldwalk.runonsave"` 节点,以下为参考配置⤵︎
57
+
58
+ ```json
59
+ "emeraldwalk.runonsave": {
60
+ "commands": [
61
+ {
62
+ // prettier
63
+ "match": "\\.(txt|ts|js|jsx|tsx|json|html|css|graphql|gql|yaml|yml|md)$",
64
+ "notMatch": "node_modules/*$",
65
+ "isAsync": true,
66
+ "cmd": "me prettier \"${file}\""
67
+ },
68
+ {
69
+ // @prettier/plugin-xml
70
+ "match": "\\.(xml|svg)$",
71
+ "isAsync": true,
72
+ "cmd": "me prettier \"${file}\""
73
+ },
74
+ {
75
+ // prettier-plugin-toml
76
+ "match": "\\.(toml)$",
77
+ "isAsync": true,
78
+ "cmd": "me prettier \"${file}\""
79
+ },
80
+ {
81
+ // prettier-plugin-nginx
82
+ "match": "\\.(nginx)$",
83
+ "isAsync": true,
84
+ "cmd": "me prettier \"${file}\""
85
+ },
86
+ {
87
+ // prettier-plugin-sh
88
+ "match": "\\.(sh|env|Dockerfile|properties|gitignore|dockerignore|prettierignore)$",
89
+ "notMatch": "\\.(nu)$",
90
+ "isAsync": true,
91
+ "cmd": "me prettier \"${file}\""
92
+ },
93
+ {
94
+ // no-dot-ext
95
+ "match": "Dockerfile$|web.config",
96
+ "isAsync": true,
97
+ "cmd": "me prettier \"${file}\""
98
+ }
99
+ ]
100
+ }
101
+ ```
102
+
103
+ # Publish
104
+
105
+ ```sh-session
106
+ $ pnpm login
107
+ $ pnpm build
108
+ $ pnpm publish
109
+ ```
110
+
111
+ # Usage
112
+
105
113
  <!-- usage -->
106
114
  ```sh-session
107
115
  $ npm install -g meocli
108
116
  $ me COMMAND
109
117
  running command...
110
118
  $ me (--version)
111
- meocli/0.1.7 win32-x64 node-v24.14.0
119
+ meocli/0.1.9 win32-x64 node-v24.18.0
112
120
  $ me --help [COMMAND]
113
121
  USAGE
114
122
  $ me COMMAND
115
123
  ...
116
124
  ```
117
- <!-- usagestop -->
118
-
119
- # Commands
120
-
125
+ <!-- usagestop -->
126
+ ```sh-session
127
+ $ npm install -g meocli
128
+ $ me COMMAND
129
+ running command...
130
+ $ me (--version)
131
+ meocli/0.1.7 win32-x64 node-v24.14.0
132
+ $ me --help [COMMAND]
133
+ USAGE
134
+ $ me COMMAND
135
+ ...
136
+ ```
137
+ <!-- usagestop -->
138
+
139
+ # Commands
140
+
121
141
  <!-- commands -->
122
142
  * [`me env [FILEPATH]`](#me-env-filepath)
123
143
  * [`me env apifox [FILEPATH]`](#me-env-apifox-filepath)
124
144
  * [`me hello PERSON`](#me-hello-person)
125
145
  * [`me hello world`](#me-hello-world)
126
146
  * [`me help [COMMAND]`](#me-help-command)
127
- * [`me js clash FILEPATH`](#me-js-clash-filepath)
147
+ * [`me js clash FILEPATH TEMPLATEPATH`](#me-js-clash-filepath-templatepath)
128
148
  * [`me plugins`](#me-plugins)
129
149
  * [`me plugins add PLUGIN`](#me-plugins-add-plugin)
130
150
  * [`me plugins:inspect PLUGIN...`](#me-pluginsinspect-plugin)
@@ -159,7 +179,7 @@ EXAMPLES
159
179
  me env .env
160
180
  ```
161
181
 
162
- _See code: [src/commands/env/index.ts](https://github.com/meme2046/meocli/blob/v0.1.7/src/commands/env/index.ts)_
182
+ _See code: [src/commands/env/index.ts](https://github.com/meme2046/meocli/blob/v0.1.9/src/commands/env/index.ts)_
163
183
 
164
184
  ## `me env apifox [FILEPATH]`
165
185
 
@@ -182,7 +202,7 @@ EXAMPLES
182
202
  me env apifox .env
183
203
  ```
184
204
 
185
- _See code: [src/commands/env/apifox.ts](https://github.com/meme2046/meocli/blob/v0.1.7/src/commands/env/apifox.ts)_
205
+ _See code: [src/commands/env/apifox.ts](https://github.com/meme2046/meocli/blob/v0.1.9/src/commands/env/apifox.ts)_
186
206
 
187
207
  ## `me hello PERSON`
188
208
 
@@ -206,7 +226,7 @@ EXAMPLES
206
226
  hello friend --from oclif (./src/commands/hello/index.ts)
207
227
  ```
208
228
 
209
- _See code: [src/commands/hello/index.ts](https://github.com/meme2046/meocli/blob/v0.1.7/src/commands/hello/index.ts)_
229
+ _See code: [src/commands/hello/index.ts](https://github.com/meme2046/meocli/blob/v0.1.9/src/commands/hello/index.ts)_
210
230
 
211
231
  ## `me hello world`
212
232
 
@@ -224,7 +244,7 @@ EXAMPLES
224
244
  hello world! (./src/commands/hello/world.ts)
225
245
  ```
226
246
 
227
- _See code: [src/commands/hello/world.ts](https://github.com/meme2046/meocli/blob/v0.1.7/src/commands/hello/world.ts)_
247
+ _See code: [src/commands/hello/world.ts](https://github.com/meme2046/meocli/blob/v0.1.9/src/commands/hello/world.ts)_
228
248
 
229
249
  ## `me help [COMMAND]`
230
250
 
@@ -246,16 +266,17 @@ DESCRIPTION
246
266
 
247
267
  _See code: [@oclif/plugin-help](https://github.com/oclif/plugin-help/blob/v6.2.37/src/commands/help.ts)_
248
268
 
249
- ## `me js clash FILEPATH`
269
+ ## `me js clash FILEPATH TEMPLATEPATH`
250
270
 
251
271
  修改Clash脚本
252
272
 
253
273
  ```
254
274
  USAGE
255
- $ me js clash FILEPATH [-v]
275
+ $ me js clash FILEPATH TEMPLATEPATH [-v]
256
276
 
257
277
  ARGUMENTS
258
- FILEPATH 目标js文件路径
278
+ FILEPATH 目标js文件路径
279
+ TEMPLATEPATH template.json配置文件路径
259
280
 
260
281
  FLAGS
261
282
  -v, --verbose Show verbose output
@@ -264,10 +285,10 @@ DESCRIPTION
264
285
  修改Clash脚本
265
286
 
266
287
  EXAMPLES
267
- $ me js clash ./tests/test.js
288
+ $ me js clash ./test.js ./template.json
268
289
  ```
269
290
 
270
- _See code: [src/commands/js/clash.ts](https://github.com/meme2046/meocli/blob/v0.1.7/src/commands/js/clash.ts)_
291
+ _See code: [src/commands/js/clash.ts](https://github.com/meme2046/meocli/blob/v0.1.9/src/commands/js/clash.ts)_
271
292
 
272
293
  ## `me plugins`
273
294
 
@@ -561,7 +582,7 @@ _See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/
561
582
 
562
583
  ## `me prettier FILEPATH`
563
584
 
564
- Use Prettier to format file,集成:『@prettier/plugin-xml、prettier-plugin-toml、prettier-plugin-sh』、prettier-plugin-nginx
585
+ Use Prettier to format file,集成:『@prettier/plugin-xml、prettier-plugin-toml、prettier-plugin-shprettier-plugin-nginx、prettier-plugin-ini』
565
586
 
566
587
  ```
567
588
  USAGE
@@ -578,8 +599,8 @@ FLAGS
578
599
  -v, --verbose Show verbose output
579
600
 
580
601
  DESCRIPTION
581
- Use Prettier to format
582
- file,集成:『@prettier/plugin-xml、prettier-plugin-toml、prettier-plugin-sh』、prettier-plugin-nginx
602
+ Use Prettier to format file,集成:『@prettier/plugin-xml、prettier-plugin-toml、prettier-plugin-sh、prettier-plugin-ngi
603
+ nx、prettier-plugin-ini』
583
604
 
584
605
  EXAMPLES
585
606
  $ me prettier ./tests/test.svg
@@ -587,7 +608,7 @@ EXAMPLES
587
608
  $ me prettier ./src/file.ts --config ./.prettierrc.yaml
588
609
  ```
589
610
 
590
- _See code: [src/commands/prettier/index.ts](https://github.com/meme2046/meocli/blob/v0.1.7/src/commands/prettier/index.ts)_
611
+ _See code: [src/commands/prettier/index.ts](https://github.com/meme2046/meocli/blob/v0.1.9/src/commands/prettier/index.ts)_
591
612
 
592
613
  ## `me prettier reset`
593
614
 
@@ -607,5 +628,495 @@ EXAMPLES
607
628
  $ me prettier reset --verbose
608
629
  ```
609
630
 
610
- _See code: [src/commands/prettier/reset.ts](https://github.com/meme2046/meocli/blob/v0.1.7/src/commands/prettier/reset.ts)_
631
+ _See code: [src/commands/prettier/reset.ts](https://github.com/meme2046/meocli/blob/v0.1.9/src/commands/prettier/reset.ts)_
632
+ <!-- commandsstop -->
633
+ * [`me env [FILEPATH]`](#me-env-filepath)
634
+ * [`me env apifox [FILEPATH]`](#me-env-apifox-filepath)
635
+ * [`me hello PERSON`](#me-hello-person)
636
+ * [`me hello world`](#me-hello-world)
637
+ * [`me help [COMMAND]`](#me-help-command)
638
+ * [`me js clash FILEPATH`](#me-js-clash-filepath)
639
+ * [`me plugins`](#me-plugins)
640
+ * [`me plugins add PLUGIN`](#me-plugins-add-plugin)
641
+ * [`me plugins:inspect PLUGIN...`](#me-pluginsinspect-plugin)
642
+ * [`me plugins install PLUGIN`](#me-plugins-install-plugin)
643
+ * [`me plugins link PATH`](#me-plugins-link-path)
644
+ * [`me plugins remove [PLUGIN]`](#me-plugins-remove-plugin)
645
+ * [`me plugins reset`](#me-plugins-reset)
646
+ * [`me plugins uninstall [PLUGIN]`](#me-plugins-uninstall-plugin)
647
+ * [`me plugins unlink [PLUGIN]`](#me-plugins-unlink-plugin)
648
+ * [`me plugins update`](#me-plugins-update)
649
+ * [`me prettier FILEPATH`](#me-prettier-filepath)
650
+ * [`me prettier reset`](#me-prettier-reset)
651
+
652
+ ## `me env [FILEPATH]`
653
+
654
+ 读取.env环境变量并打印(json格式)
655
+
656
+ ```
657
+ USAGE
658
+ $ me env [FILEPATH] [-v]
659
+
660
+ ARGUMENTS
661
+ [FILEPATH] [default: .env] .env文件路径,不传默认值为.env
662
+
663
+ FLAGS
664
+ -v, --verbose Show verbose output
665
+
666
+ DESCRIPTION
667
+ 读取.env环境变量并打印(json格式)
668
+
669
+ EXAMPLES
670
+ me env .env
671
+ ```
672
+
673
+ _See code: [src/commands/env/index.ts](https://github.com/meme2046/meocli/blob/v0.1.7/src/commands/env/index.ts)_
674
+
675
+ ## `me env apifox [FILEPATH]`
676
+
677
+ 读取.env环境变量,输出apifox需要的csv格式
678
+
679
+ ```
680
+ USAGE
681
+ $ me env apifox [FILEPATH] [-v]
682
+
683
+ ARGUMENTS
684
+ [FILEPATH] [default: .env] .env文件路径,不传默认值为.env
685
+
686
+ FLAGS
687
+ -v, --verbose Show verbose output
688
+
689
+ DESCRIPTION
690
+ 读取.env环境变量,输出apifox需要的csv格式
691
+
692
+ EXAMPLES
693
+ me env apifox .env
694
+ ```
695
+
696
+ _See code: [src/commands/env/apifox.ts](https://github.com/meme2046/meocli/blob/v0.1.7/src/commands/env/apifox.ts)_
697
+
698
+ ## `me hello PERSON`
699
+
700
+ Say hello
701
+
702
+ ```
703
+ USAGE
704
+ $ me hello PERSON [-f <value>]
705
+
706
+ ARGUMENTS
707
+ PERSON Person to say hello to
708
+
709
+ FLAGS
710
+ -f, --from=<value> [default: meocli] Who is saying hello
711
+
712
+ DESCRIPTION
713
+ Say hello
714
+
715
+ EXAMPLES
716
+ me hello friend --from oclif
717
+ hello friend --from oclif (./src/commands/hello/index.ts)
718
+ ```
719
+
720
+ _See code: [src/commands/hello/index.ts](https://github.com/meme2046/meocli/blob/v0.1.7/src/commands/hello/index.ts)_
721
+
722
+ ## `me hello world`
723
+
724
+ Say hello world
725
+
726
+ ```
727
+ USAGE
728
+ $ me hello world
729
+
730
+ DESCRIPTION
731
+ Say hello world
732
+
733
+ EXAMPLES
734
+ $ me hello world
735
+ hello world! (./src/commands/hello/world.ts)
736
+ ```
737
+
738
+ _See code: [src/commands/hello/world.ts](https://github.com/meme2046/meocli/blob/v0.1.7/src/commands/hello/world.ts)_
739
+
740
+ ## `me help [COMMAND]`
741
+
742
+ Display help for me.
743
+
744
+ ```
745
+ USAGE
746
+ $ me help [COMMAND...] [-n]
747
+
748
+ ARGUMENTS
749
+ [COMMAND...] Command to show help for.
750
+
751
+ FLAGS
752
+ -n, --nested-commands Include all nested commands in the output.
753
+
754
+ DESCRIPTION
755
+ Display help for me.
756
+ ```
757
+
758
+ _See code: [@oclif/plugin-help](https://github.com/oclif/plugin-help/blob/v6.2.37/src/commands/help.ts)_
759
+
760
+ ## `me js clash FILEPATH`
761
+
762
+ 修改Clash脚本
763
+
764
+ ```
765
+ USAGE
766
+ $ me js clash FILEPATH [-v]
767
+
768
+ ARGUMENTS
769
+ FILEPATH 目标js文件路径
770
+
771
+ FLAGS
772
+ -v, --verbose Show verbose output
773
+
774
+ DESCRIPTION
775
+ 修改Clash脚本
776
+
777
+ EXAMPLES
778
+ $ me js clash ./tests/test.js
779
+ ```
780
+
781
+ _See code: [src/commands/js/clash.ts](https://github.com/meme2046/meocli/blob/v0.1.7/src/commands/js/clash.ts)_
782
+
783
+ ## `me plugins`
784
+
785
+ List installed plugins.
786
+
787
+ ```
788
+ USAGE
789
+ $ me plugins [--json] [--core]
790
+
791
+ FLAGS
792
+ --core Show core plugins.
793
+
794
+ GLOBAL FLAGS
795
+ --json Format output as json.
796
+
797
+ DESCRIPTION
798
+ List installed plugins.
799
+
800
+ EXAMPLES
801
+ $ me plugins
802
+ ```
803
+
804
+ _See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.4.55/src/commands/plugins/index.ts)_
805
+
806
+ ## `me plugins add PLUGIN`
807
+
808
+ Installs a plugin into me.
809
+
810
+ ```
811
+ USAGE
812
+ $ me plugins add PLUGIN... [--json] [-f] [-h] [-s | -v]
813
+
814
+ ARGUMENTS
815
+ PLUGIN... Plugin to install.
816
+
817
+ FLAGS
818
+ -f, --force Force npm to fetch remote resources even if a local copy exists on disk.
819
+ -h, --help Show CLI help.
820
+ -s, --silent Silences npm output.
821
+ -v, --verbose Show verbose npm output.
822
+
823
+ GLOBAL FLAGS
824
+ --json Format output as json.
825
+
826
+ DESCRIPTION
827
+ Installs a plugin into me.
828
+
829
+ Uses npm to install plugins.
830
+
831
+ Installation of a user-installed plugin will override a core plugin.
832
+
833
+ Use the ME_NPM_LOG_LEVEL environment variable to set the npm loglevel.
834
+ Use the ME_NPM_REGISTRY environment variable to set the npm registry.
835
+
836
+ ALIASES
837
+ $ me plugins add
838
+
839
+ EXAMPLES
840
+ Install a plugin from npm registry.
841
+
842
+ $ me plugins add myplugin
843
+
844
+ Install a plugin from a github url.
845
+
846
+ $ me plugins add https://github.com/someuser/someplugin
847
+
848
+ Install a plugin from a github slug.
849
+
850
+ $ me plugins add someuser/someplugin
851
+ ```
852
+
853
+ ## `me plugins:inspect PLUGIN...`
854
+
855
+ Displays installation properties of a plugin.
856
+
857
+ ```
858
+ USAGE
859
+ $ me plugins inspect PLUGIN...
860
+
861
+ ARGUMENTS
862
+ PLUGIN... [default: .] Plugin to inspect.
863
+
864
+ FLAGS
865
+ -h, --help Show CLI help.
866
+ -v, --verbose
867
+
868
+ GLOBAL FLAGS
869
+ --json Format output as json.
870
+
871
+ DESCRIPTION
872
+ Displays installation properties of a plugin.
873
+
874
+ EXAMPLES
875
+ $ me plugins inspect myplugin
876
+ ```
877
+
878
+ _See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.4.55/src/commands/plugins/inspect.ts)_
879
+
880
+ ## `me plugins install PLUGIN`
881
+
882
+ Installs a plugin into me.
883
+
884
+ ```
885
+ USAGE
886
+ $ me plugins install PLUGIN... [--json] [-f] [-h] [-s | -v]
887
+
888
+ ARGUMENTS
889
+ PLUGIN... Plugin to install.
890
+
891
+ FLAGS
892
+ -f, --force Force npm to fetch remote resources even if a local copy exists on disk.
893
+ -h, --help Show CLI help.
894
+ -s, --silent Silences npm output.
895
+ -v, --verbose Show verbose npm output.
896
+
897
+ GLOBAL FLAGS
898
+ --json Format output as json.
899
+
900
+ DESCRIPTION
901
+ Installs a plugin into me.
902
+
903
+ Uses npm to install plugins.
904
+
905
+ Installation of a user-installed plugin will override a core plugin.
906
+
907
+ Use the ME_NPM_LOG_LEVEL environment variable to set the npm loglevel.
908
+ Use the ME_NPM_REGISTRY environment variable to set the npm registry.
909
+
910
+ ALIASES
911
+ $ me plugins add
912
+
913
+ EXAMPLES
914
+ Install a plugin from npm registry.
915
+
916
+ $ me plugins install myplugin
917
+
918
+ Install a plugin from a github url.
919
+
920
+ $ me plugins install https://github.com/someuser/someplugin
921
+
922
+ Install a plugin from a github slug.
923
+
924
+ $ me plugins install someuser/someplugin
925
+ ```
926
+
927
+ _See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.4.55/src/commands/plugins/install.ts)_
928
+
929
+ ## `me plugins link PATH`
930
+
931
+ Links a plugin into the CLI for development.
932
+
933
+ ```
934
+ USAGE
935
+ $ me plugins link PATH [-h] [--install] [-v]
936
+
937
+ ARGUMENTS
938
+ PATH [default: .] path to plugin
939
+
940
+ FLAGS
941
+ -h, --help Show CLI help.
942
+ -v, --verbose
943
+ --[no-]install Install dependencies after linking the plugin.
944
+
945
+ DESCRIPTION
946
+ Links a plugin into the CLI for development.
947
+
948
+ Installation of a linked plugin will override a user-installed or core plugin.
949
+
950
+ e.g. If you have a user-installed or core plugin that has a 'hello' command, installing a linked plugin with a 'hello'
951
+ command will override the user-installed or core plugin implementation. This is useful for development work.
952
+
953
+
954
+ EXAMPLES
955
+ $ me plugins link myplugin
956
+ ```
957
+
958
+ _See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.4.55/src/commands/plugins/link.ts)_
959
+
960
+ ## `me plugins remove [PLUGIN]`
961
+
962
+ Removes a plugin from the CLI.
963
+
964
+ ```
965
+ USAGE
966
+ $ me plugins remove [PLUGIN...] [-h] [-v]
967
+
968
+ ARGUMENTS
969
+ [PLUGIN...] plugin to uninstall
970
+
971
+ FLAGS
972
+ -h, --help Show CLI help.
973
+ -v, --verbose
974
+
975
+ DESCRIPTION
976
+ Removes a plugin from the CLI.
977
+
978
+ ALIASES
979
+ $ me plugins unlink
980
+ $ me plugins remove
981
+
982
+ EXAMPLES
983
+ $ me plugins remove myplugin
984
+ ```
985
+
986
+ ## `me plugins reset`
987
+
988
+ Remove all user-installed and linked plugins.
989
+
990
+ ```
991
+ USAGE
992
+ $ me plugins reset [--hard] [--reinstall]
993
+
994
+ FLAGS
995
+ --hard Delete node_modules and package manager related files in addition to uninstalling plugins.
996
+ --reinstall Reinstall all plugins after uninstalling.
997
+ ```
998
+
999
+ _See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.4.55/src/commands/plugins/reset.ts)_
1000
+
1001
+ ## `me plugins uninstall [PLUGIN]`
1002
+
1003
+ Removes a plugin from the CLI.
1004
+
1005
+ ```
1006
+ USAGE
1007
+ $ me plugins uninstall [PLUGIN...] [-h] [-v]
1008
+
1009
+ ARGUMENTS
1010
+ [PLUGIN...] plugin to uninstall
1011
+
1012
+ FLAGS
1013
+ -h, --help Show CLI help.
1014
+ -v, --verbose
1015
+
1016
+ DESCRIPTION
1017
+ Removes a plugin from the CLI.
1018
+
1019
+ ALIASES
1020
+ $ me plugins unlink
1021
+ $ me plugins remove
1022
+
1023
+ EXAMPLES
1024
+ $ me plugins uninstall myplugin
1025
+ ```
1026
+
1027
+ _See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.4.55/src/commands/plugins/uninstall.ts)_
1028
+
1029
+ ## `me plugins unlink [PLUGIN]`
1030
+
1031
+ Removes a plugin from the CLI.
1032
+
1033
+ ```
1034
+ USAGE
1035
+ $ me plugins unlink [PLUGIN...] [-h] [-v]
1036
+
1037
+ ARGUMENTS
1038
+ [PLUGIN...] plugin to uninstall
1039
+
1040
+ FLAGS
1041
+ -h, --help Show CLI help.
1042
+ -v, --verbose
1043
+
1044
+ DESCRIPTION
1045
+ Removes a plugin from the CLI.
1046
+
1047
+ ALIASES
1048
+ $ me plugins unlink
1049
+ $ me plugins remove
1050
+
1051
+ EXAMPLES
1052
+ $ me plugins unlink myplugin
1053
+ ```
1054
+
1055
+ ## `me plugins update`
1056
+
1057
+ Update installed plugins.
1058
+
1059
+ ```
1060
+ USAGE
1061
+ $ me plugins update [-h] [-v]
1062
+
1063
+ FLAGS
1064
+ -h, --help Show CLI help.
1065
+ -v, --verbose
1066
+
1067
+ DESCRIPTION
1068
+ Update installed plugins.
1069
+ ```
1070
+
1071
+ _See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.4.55/src/commands/plugins/update.ts)_
1072
+
1073
+ ## `me prettier FILEPATH`
1074
+
1075
+ Use Prettier to format file,集成:『@prettier/plugin-xml、prettier-plugin-toml、prettier-plugin-sh』、prettier-plugin-nginx
1076
+
1077
+ ```
1078
+ USAGE
1079
+ $ me prettier FILEPATH [-c <value>] [-i <value>] [-v]
1080
+
1081
+ ARGUMENTS
1082
+ FILEPATH file path that need to be formatted by Prettier
1083
+
1084
+ FLAGS
1085
+ -c, --config=<value> [default: built_in] built_in:使用内置规则(默认值), 传入路径则是使用自定义配置,
1086
+ auto:自动检测config file
1087
+ -i, --ignore=<value> [default: built_in] built_in:使用内置规则(默认值), 传入路径则是使用自定义规则,
1088
+ auto:自动检测ignore file
1089
+ -v, --verbose Show verbose output
1090
+
1091
+ DESCRIPTION
1092
+ Use Prettier to format
1093
+ file,集成:『@prettier/plugin-xml、prettier-plugin-toml、prettier-plugin-sh』、prettier-plugin-nginx
1094
+
1095
+ EXAMPLES
1096
+ $ me prettier ./tests/test.svg
1097
+
1098
+ $ me prettier ./src/file.ts --config ./.prettierrc.yaml
1099
+ ```
1100
+
1101
+ _See code: [src/commands/prettier/index.ts](https://github.com/meme2046/meocli/blob/v0.1.7/src/commands/prettier/index.ts)_
1102
+
1103
+ ## `me prettier reset`
1104
+
1105
+ reset prettier config and ignore file,『~/.meocli/.prettierrc.yaml, ~/.meocli/.prettierignore』
1106
+
1107
+ ```
1108
+ USAGE
1109
+ $ me prettier reset [-v]
1110
+
1111
+ FLAGS
1112
+ -v, --verbose Show verbose output
1113
+
1114
+ DESCRIPTION
1115
+ reset prettier config and ignore file,『~/.meocli/.prettierrc.yaml, ~/.meocli/.prettierignore』
1116
+
1117
+ EXAMPLES
1118
+ $ me prettier reset --verbose
1119
+ ```
1120
+
1121
+ _See code: [src/commands/prettier/reset.ts](https://github.com/meme2046/meocli/blob/v0.1.7/src/commands/prettier/reset.ts)_
611
1122
  <!-- commandsstop -->