"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;
var join_1 = __importDefault(require("lodash/join"));
var omitBy_1 = __importDefault(require("lodash/omitBy"));
function longArguments(args) {
    return JSON.stringify((0, omitBy_1.default)(args, function (_, arg) { return arg === '$0' || arg.length === 1; }));
}
exports.longArguments = longArguments;
function printableArguments(args) {
    return (0, join_1.default)(args.map(function (arg) { return "--".concat(arg); }), ', ');
}
exports.printableArguments = printableArguments;
//# sourceMappingURL=cli.js.map