"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
    return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.printableArguments = exports.longArguments = void 0;
const join_1 = __importDefault(require("lodash/join"));
const omitBy_1 = __importDefault(require("lodash/omitBy"));
function longArguments(args) {
    return JSON.stringify((0, omitBy_1.default)(args, (_, arg) => arg === '$0' || arg.length === 1));
}
exports.longArguments = longArguments;
function printableArguments(args) {
    return (0, join_1.default)(args.map((arg) => `--${arg}`), ', ');
}
exports.printableArguments = printableArguments;
//# sourceMappingURL=cli.js.map