import { catLane } from './cat-lane'; import type { Command, CommandOptions } from '@teambit/cli'; export default class CatLaneCmd implements Command { name = 'cat-lane '; description = 'cat a bit object by lane-name'; private = true; loader = false; alias = 'cl'; options = [] as CommandOptions; loadAspects = false; group = 'advanced'; async report([id]: [string]) { const result = await catLane(id); return JSON.stringify(result, null, 4); } }