@@ -47,47 +47,55 @@ const patternlab_module = function (config) {
47
47
48
48
logger . info ( '' ) ;
49
49
50
- logger . info ( '|=======================================|' ) ;
51
- logger . debug ( ' Pattern Lab Node Help v' + patternlab . package . version ) ;
52
- logger . info ( '|=======================================|' ) ;
50
+ logger . info ( 'Pattern Lab Node v' + patternlab . package . version ) ;
53
51
54
52
logger . info ( '' ) ;
55
- logger . info ( 'API - usually consumed by an edition ' ) ;
53
+ logger . info ( 'Usage: patternlab.<FUNCTION_NAME>() ' ) ;
56
54
logger . info ( '' ) ;
57
55
58
- logger . debug ( ' patternlab: build' ) ;
59
- logger . info ( ' > Compiles the patterns and frontend, outputting to config.paths.public' ) ;
56
+ logger . info ( ' build' ) ;
57
+ logger . info ( ' > builds patterns, copies assets, and constructs ui into config.paths.public' ) ;
60
58
logger . info ( '' ) ;
61
59
62
- logger . debug ( ' patternlab: patternsonly' ) ;
63
- logger . info ( ' > Compiles the patterns only, outputting to config.paths. public' ) ;
60
+ logger . info ( ' patternsonly' ) ;
61
+ logger . info ( ' > builds patterns only, leaving existing public files intact ' ) ;
64
62
logger . info ( '' ) ;
65
63
66
- logger . debug ( ' patternlab: version' ) ;
67
- logger . info ( ' > Return the version of patternlab-node you have installed ' ) ;
64
+ logger . info ( ' version' ) ;
65
+ logger . info ( ' > logs current version' ) ;
68
66
logger . info ( '' ) ;
69
67
70
- logger . debug ( ' patternlab:help ' ) ;
71
- logger . info ( ' > Get more information about patternlab-node, pattern lab in general, and where to report issues. ' ) ;
68
+ logger . info ( ' v ' ) ;
69
+ logger . info ( ' > return current version as a string ' ) ;
72
70
logger . info ( '' ) ;
73
71
74
- logger . debug ( ' patternlab:liststarterkits ' ) ;
75
- logger . info ( ' > Returns a url with the list of available starterkits hosted on the Pattern Lab organization Github account ' ) ;
72
+ logger . info ( ' help ' ) ;
73
+ logger . info ( ' > logs more information about patternlab-node, pattern lab in general, and where to report issues. ' ) ;
76
74
logger . info ( '' ) ;
77
75
78
- logger . debug ( ' patternlab:loadstarterkit' ) ;
79
- logger . info ( ' > Load a starterkit into config.paths.source/*' ) ;
76
+ logger . info ( ' liststarterkits' ) ;
77
+ logger . info ( ' > fetches starterkit repos from pattern-lab github org that contain "starterkit" in their name' ) ;
78
+ logger . info ( '' ) ;
79
+
80
+ logger . info ( ' loadstarterkit' ) ;
81
+ logger . info ( ' > loads starterkit already available via `node_modules/` into config.paths.source/*' ) ;
80
82
logger . info ( ' > NOTE: Overwrites existing content, and only cleans out existing directory if --clean=true argument is passed.' ) ;
81
83
logger . info ( ' > NOTE: In most cases, `npm install starterkit-name` will precede this call.' ) ;
82
- logger . info ( ' > arguments :' ) ;
83
- logger . info ( ' -- kit ' ) ;
84
+ logger . info ( ' > parameters :' ) ;
85
+ logger . info ( ' kit:string ' ) ;
84
86
logger . info ( ' > the name of the starter kit to load' ) ;
85
- logger . info ( ' -- clean ' ) ;
86
- logger . info ( ' > removes all files from config.paths.source/ prior to load' ) ;
87
- logger . info ( ' > example (gulp) :' ) ;
88
- logger . info ( ' `gulp patternlab: loadstarterkit --kit= starterkit-mustache-demo` ' ) ;
87
+ logger . info ( ' clean:bool ' ) ;
88
+ logger . info ( ' > whether or not to remove all files from config.paths.source/ prior to load' ) ;
89
+ logger . info ( ' > example:' ) ;
90
+ logger . info ( ' `patternlab. loadstarterkit(" starterkit-mustache-demo", true) ' ) ;
89
91
logger . info ( '' ) ;
90
92
93
+ // installplugin
94
+ // serve
95
+ // getSupportedTemplateExtensions
96
+ // events
97
+ // getDefaultConfig
98
+
91
99
logger . info ( '===============================' ) ;
92
100
logger . info ( '' ) ;
93
101
logger . info ( 'Visit http://patternlab.io/ for more info about Pattern Lab' ) ;
0 commit comments