extension/src/pipeline/register.ts
import { WorkspacePipeline } from './workspace'
import { RegisteredCommands } from '../commands/external'
import { InternalCommands } from '../commands/internal'
export const registerPipelineCommands = (
pipelines: WorkspacePipeline,
internalCommands: InternalCommands
): void => {
internalCommands.registerExternalCommand(
RegisteredCommands.PIPELINE_SHOW_DAG,
() => pipelines.showDag()
)
}