UNPKG

529 BJavaScriptView Raw
1"use strict";
2Object.defineProperty(exports, "__esModule", { value: true });
3const command_1 = require("@oclif/command");
4const packages_1 = require("../lib/packages");
5/**
6 * List all packages
7 */
8class List extends command_1.Command {
9 /**
10 * implementation
11 */
12 async run() {
13 for (const packageName of await packages_1.list()) {
14 console.log(packageName);
15 }
16 }
17}
18/**
19 * description
20 */
21List.description = 'List all packages';
22exports.default = List;
23//# sourceMappingURL=list.js.map
\No newline at end of file