Skip to content
This repository was archived by the owner on Dec 10, 2019. It is now read-only.

Commit e82e88e

Browse files
committed
Allow list without args
1 parent faa1caa commit e82e88e

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/cli/list.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,10 @@ exports.run = function(){
3333
patterns.unshift(arguments[0]);
3434
}
3535

36+
if (patterns.length == 0) {
37+
patterns.push('**');
38+
}
39+
3640
services = S.find(patterns);
3741
F.forEachAsync(services, function(next, service){
3842
if (!filter(service)) {

0 commit comments

Comments
 (0)