Skip to content

Commit 6327494

Browse files
committed
chore(help): Update content
1 parent 1425d85 commit 6327494

File tree

1 file changed

+30
-22
lines changed

1 file changed

+30
-22
lines changed

core/index.js

Lines changed: 30 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -47,47 +47,55 @@ const patternlab_module = function (config) {
4747

4848
logger.info('');
4949

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);
5351

5452
logger.info('');
55-
logger.info('API - usually consumed by an edition');
53+
logger.info('Usage: patternlab.<FUNCTION_NAME>()');
5654
logger.info('');
5755

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');
6058
logger.info('');
6159

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');
6462
logger.info('');
6563

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');
6866
logger.info('');
6967

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');
7270
logger.info('');
7371

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.');
7674
logger.info('');
7775

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/*');
8082
logger.info(' > NOTE: Overwrites existing content, and only cleans out existing directory if --clean=true argument is passed.');
8183
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 ');
8486
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)');
8991
logger.info('');
9092

93+
// installplugin
94+
// serve
95+
// getSupportedTemplateExtensions
96+
// events
97+
// getDefaultConfig
98+
9199
logger.info('===============================');
92100
logger.info('');
93101
logger.info('Visit http://patternlab.io/ for more info about Pattern Lab');

0 commit comments

Comments
 (0)