OSDN Git Service

Modified indent of zephyr command help output v0.3.0p0055
authorhimetani_cafe <fumifumi@yasunaga-lab.bio.kyutech.ac.jp>
Sat, 27 Feb 2016 06:55:10 +0000 (15:55 +0900)
committerhimetani_cafe <fumifumi@yasunaga-lab.bio.kyutech.ac.jp>
Sat, 27 Feb 2016 06:55:10 +0000 (15:55 +0900)
cli/zephyr
cli/zephyr-debug
cli/zephyr-parse
cli/zephyr-serve

index 256cc93..0cf8df6 100755 (executable)
@@ -8,13 +8,15 @@ zephyr
 .command('debug', 'serve with debug mode')
 .command('parse', 'create json file of OptionControlFile from Eos directory')
 .on('--help', function() {
-    console.log('Environment variables:');
+    console.log('   Environment variables:');
     console.log('');
-    console.log('   ZEPHYR_HOME: The Path of zephyr directory');
+    console.log('       ZEPHYR_HOME: The Path of zephyr directory');
     console.log('');
     console.log('');
-    console.log(('Documentation can be found at ' + chalk.blue('http://www.yasunaga-lab.bio.kyutech.ac.jp/EosJ/index.php/zephyr')));
+    console.log(('  Documentation can be found at ' + chalk.blue('http://www.yasunaga-lab.bio.kyutech.ac.jp/EosJ/index.php/zephyr')));
     console.log('');
 })
+
+zephyr
 .parse(process.argv);
 
index aed8537..5d49508 100755 (executable)
@@ -20,7 +20,7 @@ npm.stderr.on('data', function (data) {
 });
 
 zephyr.on('--help', function() {
-    console.log(('Documentation can be found at ' + chalk.blue('http://www.yasunaga-lab.bio.kyutech.ac.jp/EosJ/index.php/zephyr')));
+    console.log(('  Documentation can be found at ' + chalk.blue('http://www.yasunaga-lab.bio.kyutech.ac.jp/EosJ/index.php/zephyr')));
     console.log('');
 });
 
index a66555d..aed37fb 100755 (executable)
@@ -18,7 +18,7 @@ parser.stderr.on('data', function (data) {
 });
 
 zephyr.on('--help', function() {
-    console.log(('Documentation can be found at ' + chalk.blue('http://www.yasunaga-lab.bio.kyutech.ac.jp/EosJ/index.php/zephyr')));
+    console.log(('  Documentation can be found at ' + chalk.blue('http://www.yasunaga-lab.bio.kyutech.ac.jp/EosJ/index.php/zephyr')));
     console.log('');
 });
 
index 1048a90..526c3e3 100755 (executable)
@@ -19,7 +19,7 @@ npm.stderr.on('data', function (data) {
 });
 
 zephyr.on('--help', function() {
-    console.log(('Documentation can be found at ' + chalk.blue('http://www.yasunaga-lab.bio.kyutech.ac.jp/EosJ/index.php/zephyr')));
+    console.log(('  Documentation can be found at ' + chalk.blue('http://www.yasunaga-lab.bio.kyutech.ac.jp/EosJ/index.php/zephyr')));
     console.log('');
 });