[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    [websites/neverland/gsoc] /: add placeholders for commands
From:       Minh Chu <scsilver94 () gmail ! com>
Date:       2016-05-31 18:55:40
Message-ID: E1b7opI-0004a9-8i () scm ! kde ! org
[Download RAW message or body]

Git commit 0c7cb7124e41e4ab394b54581dac9afd19adac4a by Minh Chu.
Committed on 31/05/2016 at 18:55.
Pushed by minhchu into branch 'gsoc'.

add placeholders for commands

M  +16   -0    neverland

http://commits.kde.org/websites/neverland/0c7cb7124e41e4ab394b54581dac9afd19adac4a

diff --git a/neverland b/neverland
index d210501..03ad0c2 100644
--- a/neverland
+++ b/neverland
@@ -48,6 +48,22 @@ vorpal
     });
 
 vorpal
+    .command('watch', 'Watching theme using Gulp')
+    .option('--theme <themeName>', 'Theme Name')
+    .action(function (args) {
+        this.log('Watching ' + chalk.green(args.options.theme) + ' theme ');
+        // implementation
+    });
+
+vorpal
+    .command('build', 'Building themes')
+    .option('--theme <themeName>', 'Theme Name')
+    .action(function (args) {
+        this.log('Building ' + chalk.green(args.options.theme) + ' theme ');
+        // implementation
+    });
+
+vorpal
     .catch('[words...]', 'Catches incorrect commands')
     .action(function (args) {
         if (args.words === undefined) {
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic