You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 29, 2020. It is now read-only.
.usage('elm-css PATH # path to your Stylesheets.elm file')
.option('-o, --output [outputDir]', '(optional) directory in which to write CSS file', process.cwd())
.option('-m, --module [moduleName]', '(optional) name of stylesheets module in your project', null, 'Stylesheets')
.option('-p, --port [portName]', '(optional) name of the port from which to read CSS results', null, 'files')
.option('-r, --root [projectDir]', '(optional) root directory of the project', process.cwd())
.action(function(src) {
sourcePath = src;
})
.parse(process.argv);
if(!sourcePath) {
console.log(chalk.red("You must specifiy a path to your Stylesheets.elm file. See the README for information on how to build a Stylesheets.elm file."));
program.outputHelp();
process.exit(1);
}
elmCss(
program.root,
sourcePath,
program.output,
program.module,
program.port
).then(function (results) {
console.log(chalk.green('Successfully generated output! The following css files were created: '));