UNPKG

@pagopa/dx-cli

Version:

A CLI useful to manage DX tools.

10 lines (9 loc) 341 B
import { Command } from "commander"; import { getInfo, printInfo } from "../../../domain/info.js"; export const makeInfoCommand = (dependencies) => new Command() .name("info") .description("Display information about the project") .action(async () => { const result = await getInfo(dependencies)(); printInfo(result); });