| 37808 | } |
| 37809 | |
| 37810 | function ls(manifest, reporter, saved) { |
| 37811 | const bins = manifest.bin ? Object.keys(manifest.bin) : []; |
| 37812 | const human = `${manifest.name}@${manifest.version}`; |
| 37813 | if (bins.length) { |
| 37814 | if (saved) { |
| 37815 | reporter.success(reporter.lang('packageInstalledWithBinaries', human)); |
| 37816 | } else { |
| 37817 | reporter.info(reporter.lang('packageHasBinaries', human)); |
| 37818 | } |
| 37819 | reporter.list(`bins-${manifest.name}`, bins); |
| 37820 | } else if (saved) { |
| 37821 | reporter.warn(reporter.lang('packageHasNoBinaries', human)); |
| 37822 | } |
| 37823 | } |
| 37824 | |
| 37825 | var _buildSubCommands = (0, (_buildSubCommands2 || _load_buildSubCommands()).default)('global', { |
| 37826 | add(config, reporter, flags, args) { |