Skip to content

Commit

Permalink
0.6.6
Browse files Browse the repository at this point in the history
  • Loading branch information
ksky521 committed Mar 15, 2014
1 parent 049123a commit 0e73965
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lib/generate.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ module.exports = function(filepath, outputDir, isAll) {
}
//2.导出复制filepath除根目录下img、css和js等到assets,遇见/*.md就解析
generate(filepath, outputDir);
console.log('生成结束!'.bold.green + outputDir.yellow);
console.log('生成结束!'.bold.green + require('path').relative('b:/', outputDir).yellow);
};

function parser(realPath, template) {
Expand Down
4 changes: 2 additions & 2 deletions lib/nodePPT.js
Original file line number Diff line number Diff line change
Expand Up @@ -93,10 +93,10 @@ var ppt = module.exports = {
break;
case 'generate':
console.log('\n 用法: nodeppt generate <file_path> <save_path>');
console.log(' -o, --output <save_path> 指定导出路径和文件名');
console.log(' -a, --all 导出全部(包括nodeppt js和css)\n');
console.log(' Example: ');
console.log(' nodeppt generate D:/webppt/demo.md -o D:/output\n');
console.log(' nodeppt generate D:/webppt/demo.md D:/output');
console.log(' nodeppt generate D:/webppt/ D:/output -a\n');
break;
case 'create':
console.log('\n 用法: nodeppt create <filename> [OPTION]');
Expand Down

0 comments on commit 0e73965

Please sign in to comment.