This repository was archived by the owner on Aug 22, 2023. It is now read-only.
File tree 3 files changed +18
-18
lines changed
3 files changed +18
-18
lines changed Original file line number Diff line number Diff line change 13
13
},
14
14
"devDependencies" : {
15
15
"@anycli/config" : " ^0.2.11" ,
16
- "@anycli/help" : " ^0.3.5 " ,
16
+ "@anycli/plugin- help" : " ^0.3.6 " ,
17
17
"@anycli/tslint" : " ^0.2.2" ,
18
18
"@types/chai" : " ^4.1.2" ,
19
19
"@types/lodash" : " ^4.14.100" ,
Original file line number Diff line number Diff line change 1
1
const pjson = require ( '../package.json' )
2
2
import * as Config from '@anycli/config'
3
- import Help from '@anycli/help'
4
3
import { args } from '@anycli/parser'
4
+ import Help from '@anycli/plugin-help'
5
5
import cli from 'cli-ux'
6
6
import * as _ from 'lodash'
7
7
@@ -50,7 +50,7 @@ export default abstract class Command {
50
50
if ( err instanceof VersionErr ) {
51
51
cli . info ( config . userAgent )
52
52
} else if ( err instanceof HelpErr || err . message . match ( / U n e x p e c t e d a r g u m e n t : - h / ) ) {
53
- const Helper : typeof Help = require ( '@anycli/help' ) . default
53
+ const Helper : typeof Help = require ( '@anycli/plugin- help' ) . default
54
54
const help = new Helper ( config )
55
55
help . command ( this . convertToCached ( ) )
56
56
cli . info ( help . command ( this . convertToCached ( ) ) )
Original file line number Diff line number Diff line change 2
2
# yarn lockfile v1
3
3
4
4
5
- " @anycli/command@^0.3.1 " :
6
- version "0.3.3 "
7
- resolved "https://registry.yarnpkg.com/@anycli/command/-/command-0.3.3 .tgz#38f2d56fee0c18ad528c3a42d90ae9c97b17d652 "
5
+ " @anycli/command@^0.3.4 " :
6
+ version "0.3.5 "
7
+ resolved "https://registry.yarnpkg.com/@anycli/command/-/command-0.3.5 .tgz#1ae5d93151f00260f8ec576bb67b69d8b8c20999 "
8
8
dependencies :
9
9
" @anycli/parser" " ^3.0.4"
10
10
cli-ux "^3.3.12"
23
23
lodash "^4.17.4"
24
24
read-pkg "^3.0.0"
25
25
26
- " @anycli/help@^0.3.5 " :
27
- version "0.3.5 "
28
- resolved "https://registry.yarnpkg.com/@anycli/help /-/help-0.3.5. tgz#5fc846214da0b2a760885fe42c133bfd2903d5ab "
26
+ " @anycli/parser@^3.0.4 " :
27
+ version "3.0.4 "
28
+ resolved "https://registry.yarnpkg.com/@anycli/parser /-/parser-3.0.4. tgz#8714c4f73134625fe3781b9e2b5aa0ebb5685a82 "
29
29
dependencies :
30
- " @anycli/command" " ^0.3.1"
31
30
" @anycli/screen" " ^0.0.3"
32
31
chalk "^2.3.0"
33
- cli-ux "^3.3.12"
34
- indent-string "^3.2.0"
35
32
lodash "^4.17.4"
36
- string-width "^2.1.1"
37
- widest-line "^2.0.0"
38
- wrap-ansi "^3.0.1"
39
33
40
- " @anycli/parser@^3.0.4 " :
41
- version "3.0.4 "
42
- resolved "https://registry.yarnpkg.com/@anycli/parser /-/parser-3.0.4. tgz#8714c4f73134625fe3781b9e2b5aa0ebb5685a82 "
34
+ " @anycli/plugin-help@^0.3.6 " :
35
+ version "0.3.6 "
36
+ resolved "https://registry.yarnpkg.com/@anycli/plugin-help /-/plugin-help-0.3.6. tgz#f7f8aac308c0a91dfb5f7f0ca79c91d4585bc4d7 "
43
37
dependencies :
38
+ " @anycli/command" " ^0.3.4"
44
39
" @anycli/screen" " ^0.0.3"
45
40
chalk "^2.3.0"
41
+ cli-ux "^3.3.12"
42
+ indent-string "^3.2.0"
46
43
lodash "^4.17.4"
44
+ string-width "^2.1.1"
45
+ widest-line "^2.0.0"
46
+ wrap-ansi "^3.0.1"
47
47
48
48
" @anycli/screen@^0.0.3 " :
49
49
version "0.0.3"
You can’t perform that action at this time.
0 commit comments