lincd-cli 0.2.0 → 0.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/cli.js
CHANGED
|
@@ -162,7 +162,7 @@ program.command('dev [target] [mode]').action(function (target, mode) {
|
|
|
162
162
|
developPackage(target, mode);
|
|
163
163
|
});
|
|
164
164
|
program
|
|
165
|
-
.command('
|
|
165
|
+
.command('package')
|
|
166
166
|
.action(function (name, command, args) {
|
|
167
167
|
var fullCommand = command
|
|
168
168
|
? command +
|
|
@@ -175,7 +175,10 @@ program
|
|
|
175
175
|
: null;
|
|
176
176
|
executeCommandForPackage(name, fullCommand);
|
|
177
177
|
})
|
|
178
|
+
.alias('p')
|
|
179
|
+
.alias('pkg')
|
|
178
180
|
.alias('m')
|
|
181
|
+
.alias('module')
|
|
179
182
|
.description('Searches for a package in this workspace with a partially matching name and executes a command for that package (without needing to execute it from the folder of the package)')
|
|
180
183
|
.argument('<name>', 'the name of the package. Can be a part of the name.')
|
|
181
184
|
.argument('[command]', 'the lincd command you want to execute. Like dev or build')
|