Commit 921b24da authored by super-lin0's avatar super-lin0

Add 工程描述信息高亮

parent 0bb9f3bc
......@@ -10,7 +10,7 @@ const generators = fs
.filter(f => !f.startsWith('.'))
.map(f => {
return {
name: `${f.padEnd(15)} - ${chalk.gray(require(`./generators/${f}/meta.json`).description)}`,
name: `${f.padEnd(15)} - ${chalk.red(require(`./generators/${f}/meta.json`).description)}`,
value: f,
short: f,
};
......@@ -65,7 +65,7 @@ const run = async config => {
try {
return runGenerator(`./generators/${type}`, config);
} catch(e) {
} catch (e) {
console.error(chalk.red(`> Generate failed`), e);
process.exit(1);
}
......
{
"name": "create-nemean",
"version": "0.0.30",
"version": "0.0.31",
"description": "Creates a Nemean application using the command line.",
"homepage": "http://platform.kuopu.net:9999/gitlab/nemean-group/create-nemean",
"bugs": {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment