[
  {
    "path": ".editorconfig",
    "content": "root = true\n\n[*]\nindent_style = tab\nend_of_line = lf\ncharset = utf-8\ntrim_trailing_whitespace = true\ninsert_final_newline = true\n\n[*.yml]\nindent_style = space\nindent_size = 2\n"
  },
  {
    "path": ".gitattributes",
    "content": "* text=auto eol=lf\n"
  },
  {
    "path": ".github/funding.yml",
    "content": "github: sindresorhus\nopen_collective: sindresorhus\ncustom: https://sindresorhus.com/donate\ntidelift: npm/dargs\n"
  },
  {
    "path": ".github/security.md",
    "content": "# Security Policy\n\nTo report a security vulnerability, please use the [Tidelift security contact](https://tidelift.com/security). Tidelift will coordinate the fix and disclosure.\n"
  },
  {
    "path": ".github/workflows/main.yml",
    "content": "name: CI\non:\n  - push\n  - pull_request\njobs:\n  test:\n    name: Node.js ${{ matrix.node-version }}\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        node-version:\n          - 16\n          - 14\n          - 12\n    steps:\n      - uses: actions/checkout@v2\n      - uses: actions/setup-node@v2\n        with:\n          node-version: ${{ matrix.node-version }}\n      - run: npm install\n      - run: npm test\n"
  },
  {
    "path": ".gitignore",
    "content": "node_modules\nyarn.lock\n"
  },
  {
    "path": ".npmrc",
    "content": "package-lock=false\n"
  },
  {
    "path": "index.d.ts",
    "content": "export interface Options {\n\t/**\n\tKeys or regex of keys to exclude. Takes precedence over `includes`.\n\t*/\n\treadonly excludes?: ReadonlyArray<string | RegExp>;\n\n\t/**\n\tKeys or regex of keys to include.\n\t*/\n\treadonly includes?: ReadonlyArray<string | RegExp>;\n\n\t/**\n\tMaps keys in `input` to an aliased name. Matching keys are converted to arguments with a single dash (`-`) in front of the aliased key and the value in a separate array item. Keys are still affected by `includes` and `excludes`.\n\t*/\n\treadonly aliases?: Record<string, string>;\n\n\t/**\n\tSetting this to `false` makes it return the key and value as separate array items instead of using a `=` separator in one item. This can be useful for tools that doesn't support `--foo=bar` style flags.\n\n\t@default true\n\n\t@example\n\t```\n\timport dargs from 'dargs';\n\n\tconsole.log(dargs({foo: 'bar'}, {useEquals: false}));\n\t// [\n\t// \t'--foo', 'bar'\n\t// ]\n\t```\n\t*/\n\treadonly useEquals?: boolean;\n\n\t/**\n\tMake a single character option key `{a: true}` become a short flag `-a` instead of `--a`.\n\n\t@default true\n\n\t@example\n\t```\n\timport dargs from 'dargs';\n\n\tconsole.log(dargs({a: true}));\n\t//=> ['-a']\n\n\tconsole.log(dargs({a: true}, {shortFlag: false}));\n\t//=> ['--a']\n\t```\n\t*/\n\treadonly shortFlag?: boolean;\n\n\t/**\n\tExclude `true` values. Can be useful when dealing with argument parsers that only expect negated arguments like `--no-foo`.\n\n\t@default false\n\t*/\n\treadonly ignoreTrue?: boolean;\n\n\t/**\n\tExclude `false` values. Can be useful when dealing with strict argument parsers that throw on unknown arguments like `--no-foo`.\n\n\t@default false\n\t*/\n\treadonly ignoreFalse?: boolean;\n\n\t/**\n\tBy default, camel-cased keys will be hyphenated. Enabling this will bypass the conversion process.\n\n\t@default false\n\n\t@example\n\t```\n\timport dargs from 'dargs';\n\n\tconsole.log(dargs({fooBar: 'baz'}));\n\t//=> ['--foo-bar', 'baz']\n\n\tconsole.log(dargs({fooBar: 'baz'}, {allowCamelCase: true}));\n\t//=> ['--fooBar', 'baz']\n\t```\n\t*/\n\treadonly allowCamelCase?: boolean;\n}\n\n/**\nReverse [`minimist`](https://github.com/substack/minimist). Convert an object of options into an array of command-line arguments.\n\n@param object - Object to convert to command-line arguments.\n\n@example\n```\nimport dargs from 'dargs';\n\nconst input = {\n\t_: ['some', 'option'],          // Values in '_' will be appended to the end of the generated argument list\n\t'--': ['separated', 'option'],  // Values in '--' will be put at the very end of the argument list after the escape option (`--`)\n\tfoo: 'bar',\n\thello: true,                    // Results in only the key being used\n\tcake: false,                    // Prepends `no-` before the key\n\tcamelCase: 5,                   // CamelCase is slugged to `camel-case`\n\tmultiple: ['value', 'value2'],  // Converted to multiple arguments\n\tpieKind: 'cherry',\n\tsad: ':('\n};\n\nconst excludes = ['sad', /.*Kind$/];  // Excludes and includes accept regular expressions\nconst includes = ['camelCase', 'multiple', 'sad', /^pie.+/];\nconst aliases = {file: 'f'};\n\nconsole.log(dargs(input, {excludes}));\n// [\n// \t'--foo=bar',\n// \t'--hello',\n// \t'--no-cake',\n// \t'--camel-case=5',\n// \t'--multiple=value',\n// \t'--multiple=value2',\n// \t'some',\n// \t'option',\n// \t'--',\n// \t'separated',\n// \t'option'\n// ]\n\nconsole.log(dargs(input, {excludes, includes}));\n// [\n// \t'--camel-case=5',\n// \t'--multiple=value',\n// \t'--multiple=value2'\n// ]\n\nconsole.log(dargs(input, {includes}));\n// [\n// \t'--camel-case=5',\n// \t'--multiple=value',\n// \t'--multiple=value2',\n// \t'--pie-kind=cherry',\n// \t'--sad=:('\n// ]\n\nconsole.log(dargs({\n\tfoo: 'bar',\n\thello: true,\n\tfile: 'baz'\n}, {aliases}));\n// [\n// \t'--foo=bar',\n// \t'--hello',\n// \t'-f', 'baz'\n// ]\n```\n*/\nexport default function dargs(\n\tobject: {\n\t\t'--'?: string[];\n\t\t_?: string[];\n\t} & Record<string, string | boolean | number | readonly string[]>,\n\toptions?: Options\n): string[];\n"
  },
  {
    "path": "index.js",
    "content": "const match = (array, value) =>\n\tarray.some(element => (element instanceof RegExp ? element.test(value) : element === value));\n\nexport default function dargs(object, options) {\n\tconst arguments_ = [];\n\tlet extraArguments = [];\n\tlet separatedArguments = [];\n\n\toptions = {\n\t\tuseEquals: true,\n\t\tshortFlag: true,\n\t\t...options\n\t};\n\n\tconst makeArguments = (key, value) => {\n\t\tconst prefix = options.shortFlag && key.length === 1 ? '-' : '--';\n\t\tconst theKey = (options.allowCamelCase ?\n\t\t\tkey :\n\t\t\tkey.replace(/[A-Z]/g, '-$&').toLowerCase());\n\n\t\tkey = prefix + theKey;\n\n\t\tif (options.useEquals) {\n\t\t\targuments_.push(key + (value ? `=${value}` : ''));\n\t\t} else {\n\t\t\targuments_.push(key);\n\n\t\t\tif (value) {\n\t\t\t\targuments_.push(value);\n\t\t\t}\n\t\t}\n\t};\n\n\tconst makeAliasArg = (key, value) => {\n\t\targuments_.push(`-${key}`);\n\n\t\tif (value) {\n\t\t\targuments_.push(value);\n\t\t}\n\t};\n\n\tfor (let [key, value] of Object.entries(object)) {\n\t\tlet pushArguments = makeArguments;\n\n\t\tif (Array.isArray(options.excludes) && match(options.excludes, key)) {\n\t\t\tcontinue;\n\t\t}\n\n\t\tif (Array.isArray(options.includes) && !match(options.includes, key)) {\n\t\t\tcontinue;\n\t\t}\n\n\t\tif (typeof options.aliases === 'object' && options.aliases[key]) {\n\t\t\tkey = options.aliases[key];\n\t\t\tpushArguments = makeAliasArg;\n\t\t}\n\n\t\tif (key === '--') {\n\t\t\tif (!Array.isArray(value)) {\n\t\t\t\tthrow new TypeError(\n\t\t\t\t\t`Expected key \\`--\\` to be Array, got ${typeof value}`\n\t\t\t\t);\n\t\t\t}\n\n\t\t\tseparatedArguments = value;\n\t\t\tcontinue;\n\t\t}\n\n\t\tif (key === '_') {\n\t\t\tif (!Array.isArray(value)) {\n\t\t\t\tthrow new TypeError(\n\t\t\t\t\t`Expected key \\`_\\` to be Array, got ${typeof value}`\n\t\t\t\t);\n\t\t\t}\n\n\t\t\textraArguments = value;\n\t\t\tcontinue;\n\t\t}\n\n\t\tif (value === true && !options.ignoreTrue) {\n\t\t\tpushArguments(key, '');\n\t\t}\n\n\t\tif (value === false && !options.ignoreFalse) {\n\t\t\tpushArguments(`no-${key}`);\n\t\t}\n\n\t\tif (typeof value === 'string') {\n\t\t\tpushArguments(key, value);\n\t\t}\n\n\t\tif (typeof value === 'number' && !Number.isNaN(value)) {\n\t\t\tpushArguments(key, String(value));\n\t\t}\n\n\t\tif (Array.isArray(value)) {\n\t\t\tfor (const arrayValue of value) {\n\t\t\t\tpushArguments(key, arrayValue);\n\t\t\t}\n\t\t}\n\t}\n\n\tfor (const argument of extraArguments) {\n\t\targuments_.push(String(argument));\n\t}\n\n\tif (separatedArguments.length > 0) {\n\t\targuments_.push('--');\n\t}\n\n\tfor (const argument of separatedArguments) {\n\t\targuments_.push(String(argument));\n\t}\n\n\treturn arguments_;\n}\n"
  },
  {
    "path": "index.test-d.ts",
    "content": "import {expectType, expectError} from 'tsd';\nimport dargs from './index.js';\n\nconst object = {\n\t_: ['some', 'option'],\n\tfoo: 'bar',\n\thello: true,\n\tcake: false,\n\tcamelCase: 5,\n\tmultiple: ['value', 'value2'],\n\tpieKind: 'cherry',\n\tsad: ':('\n};\n\nconst excludes = ['sad', /.*Kind$/];\nconst includes = ['camelCase', 'multiple', 'sad', /^pie.*/];\nconst aliases = {file: 'f'};\n\nexpectType<string[]>(dargs(object, {excludes}));\nexpectType<string[]>(dargs(object, {includes}));\nexpectType<string[]>(dargs(object, {aliases}));\nexpectType<string[]>(dargs(object, {useEquals: false}));\nexpectType<string[]>(dargs(object, {shortFlag: true}));\nexpectType<string[]>(dargs(object, {ignoreTrue: true}));\nexpectType<string[]>(dargs(object, {ignoreFalse: true}));\nexpectType<string[]>(dargs(object, {allowCamelCase: true}));\n\nexpectError(dargs({_: 'foo'}));\nexpectError(dargs({'--': 'foo'}));\n"
  },
  {
    "path": "license",
    "content": "MIT License\n\nCopyright (c) Sindre Sorhus <sindresorhus@gmail.com> (https://sindresorhus.com)\n\nPermission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \"Software\"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n"
  },
  {
    "path": "package.json",
    "content": "{\n\t\"name\": \"dargs\",\n\t\"version\": \"8.1.0\",\n\t\"description\": \"Reverse minimist. Convert an object of options into an array of command-line arguments.\",\n\t\"license\": \"MIT\",\n\t\"repository\": \"sindresorhus/dargs\",\n\t\"funding\": \"https://github.com/sponsors/sindresorhus\",\n\t\"author\": {\n\t\t\"name\": \"Sindre Sorhus\",\n\t\t\"email\": \"sindresorhus@gmail.com\",\n\t\t\"url\": \"https://sindresorhus.com\"\n\t},\n\t\"type\": \"module\",\n\t\"exports\": \"./index.js\",\n\t\"engines\": {\n\t\t\"node\": \">=12\"\n\t},\n\t\"scripts\": {\n\t\t\"test\": \"xo && ava && tsd\"\n\t},\n\t\"files\": [\n\t\t\"index.js\",\n\t\t\"index.d.ts\"\n\t],\n\t\"keywords\": [\n\t\t\"reverse\",\n\t\t\"minimist\",\n\t\t\"options\",\n\t\t\"arguments\",\n\t\t\"args\",\n\t\t\"flags\",\n\t\t\"cli\",\n\t\t\"nopt\",\n\t\t\"commander\",\n\t\t\"binary\",\n\t\t\"command\",\n\t\t\"inverse\",\n\t\t\"opposite\",\n\t\t\"invert\",\n\t\t\"switch\",\n\t\t\"construct\",\n\t\t\"parse\",\n\t\t\"parser\",\n\t\t\"argv\"\n\t],\n\t\"devDependencies\": {\n\t\t\"ava\": \"^3.15.0\",\n\t\t\"tsd\": \"^0.14.0\",\n\t\t\"xo\": \"^0.39.1\"\n\t}\n}\n"
  },
  {
    "path": "readme.md",
    "content": "# dargs\n\n> Reverse [`minimist`](https://github.com/minimistjs/minimist). Convert an object of options into an array of command-line arguments.\n\nUseful when spawning command-line tools.\n\n## Install\n\n```\n$ npm install dargs\n```\n\n## Usage\n\n```js\nimport dargs from 'dargs';\n\nconst object = {\n\t_: ['some', 'option'],          // Values in '_' will be appended to the end of the generated argument list\n\t'--': ['separated', 'option'],  // Values in '--' will be put at the very end of the argument list after the escape option (`--`)\n\tfoo: 'bar',\n\thello: true,                    // Results in only the key being used\n\tcake: false,                    // Prepends `no-` before the key\n\tcamelCase: 5,                   // CamelCase is slugged to `camel-case`\n\tmultiple: ['value', 'value2'],  // Converted to multiple arguments\n\tpieKind: 'cherry',\n\tsad: ':('\n};\n\nconst excludes = ['sad', /.*Kind$/];  // Excludes and includes accept regular expressions\nconst includes = ['camelCase', 'multiple', 'sad', /^pie.*/];\nconst aliases = {file: 'f'};\n\nconsole.log(dargs(object, {excludes}));\n/*\n[\n\t'--foo=bar',\n\t'--hello',\n\t'--no-cake',\n\t'--camel-case=5',\n\t'--multiple=value',\n\t'--multiple=value2',\n\t'some',\n\t'option',\n\t'--',\n\t'separated',\n\t'option'\n]\n*/\n\nconsole.log(dargs(object, {excludes, includes}));\n/*\n[\n\t'--camel-case=5',\n\t'--multiple=value',\n\t'--multiple=value2'\n]\n*/\n\n\nconsole.log(dargs(object, {includes}));\n/*\n[\n\t'--camel-case=5',\n\t'--multiple=value',\n\t'--multiple=value2',\n\t'--pie-kind=cherry',\n\t'--sad=:('\n]\n*/\n\n\nconsole.log(dargs({\n\tfoo: 'bar',\n\thello: true,\n\tfile: 'baz'\n}, {aliases}));\n/*\n[\n\t'--foo=bar',\n\t'--hello',\n\t'-f', 'baz'\n]\n*/\n```\n\n## API\n\n### dargs(object, options?)\n\n#### object\n\nType: `object`\n\nObject to convert to command-line arguments.\n\n#### options\n\nType: `object`\n\n##### excludes\n\nType: `Array<string | RegExp>`\n\nKeys or regex of keys to exclude. Takes precedence over `includes`.\n\n##### includes\n\nType: `Array<string | RegExp>`\n\nKeys or regex of keys to include.\n\n##### aliases\n\nType: `object`\n\nMaps keys in `object` to an aliased name. Matching keys are converted to arguments with a single dash (`-`) in front of the aliased key and the value in a separate array item. Keys are still affected by `includes` and `excludes`.\n\n##### useEquals\n\nType: `boolean`\\\nDefault: `true`\n\nSetting this to `false` makes it return the key and value as separate array items instead of using a `=` separator in one item. This can be useful for tools that doesn't support `--foo=bar` style flags.\n\n```js\nimport dargs from 'dargs';\n\nconsole.log(dargs({foo: 'bar'}, {useEquals: false}));\n/*\n[\n\t'--foo', 'bar'\n]\n*/\n```\n\n##### shortFlag\n\nType: `boolean`\\\nDefault: `true`\n\nMake a single character option key `{a: true}` become a short flag `-a` instead of `--a`.\n\n```js\nimport dargs from 'dargs';\n\nconsole.log(dargs({a: true}));\n//=> ['-a']\n\nconsole.log(dargs({a: true}, {shortFlag: false}));\n//=> ['--a']\n```\n\n##### ignoreTrue\n\nType: `boolean`\\\nDefault: `false`\n\nExclude `true` values. Can be useful when dealing with argument parsers that only expect negated arguments like `--no-foo`.\n\n##### ignoreFalse\n\nType: `boolean`\\\nDefault: `false`\n\nExclude `false` values. Can be useful when dealing with strict argument parsers that throw on unknown arguments like `--no-foo`.\n\n##### allowCamelCase\n\nType: `boolean`\\\nDefault: `false`\n\nBy default, camel-cased keys will be hyphenated. Enabling this will bypass the conversion process.\n\n```js\nimport dargs from 'dargs';\n\nconsole.log(dargs({fooBar: 'baz'}));\n//=> ['--foo-bar', 'baz']\n\nconsole.log(dargs({fooBar: 'baz'}, {allowCamelCase: true}));\n//=> ['--fooBar', 'baz']\n```\n\n---\n\n<div align=\"center\">\n\t<b>\n\t\t<a href=\"https://tidelift.com/subscription/pkg/npm-dargs?utm_source=npm-dargs&utm_medium=referral&utm_campaign=readme\">Get professional support for this package with a Tidelift subscription</a>\n\t</b>\n\t<br>\n\t<sub>\n\t\tTidelift helps make open source sustainable for maintainers while giving companies<br>assurances about security, maintenance, and licensing for their dependencies.\n\t</sub>\n</div>\n"
  },
  {
    "path": "test.js",
    "content": "import test from 'ava';\nimport dargs from './index.js';\n\nconst fixture = {\n\t_: ['some', 'option'],\n\t'--': ['other', 'args', '-z', '--camelCaseOpt'],\n\ta: 'foo',\n\tb: true,\n\tc: false,\n\td: 5,\n\te: ['foo', 'bar'],\n\tf: null,\n\tg: undefined,\n\th: 'with a space',\n\ti: 'let\\'s try quotes',\n\tcamelCaseCamel: true\n};\n\ntest('convert options to cli flags', t => {\n\tt.deepEqual(dargs(fixture), [\n\t\t'-a=foo',\n\t\t'-b',\n\t\t'--no-c',\n\t\t'-d=5',\n\t\t'-e=foo',\n\t\t'-e=bar',\n\t\t'-h=with a space',\n\t\t'-i=let\\'s try quotes',\n\t\t'--camel-case-camel',\n\t\t'some',\n\t\t'option',\n\t\t'--',\n\t\t'other',\n\t\t'args',\n\t\t'-z',\n\t\t'--camelCaseOpt' // Case unaffected for separated options\n\t]);\n});\n\ntest('raises a TypeError if  \\'_\\' value is not an Array', t => {\n\tt.throws(dargs.bind(dargs, {a: 'foo', _: 'baz'}), {instanceOf: TypeError});\n});\n\ntest('raises a TypeError if  \\'--\\' value is not an Array', t => {\n\tt.throws(dargs.bind(dargs, {a: 'foo', '--': 'baz'}), {instanceOf: TypeError});\n});\n\ntest('useEquals options', t => {\n\tt.deepEqual(dargs(fixture, {\n\t\tuseEquals: false\n\t}), [\n\t\t'-a',\n\t\t'foo',\n\t\t'-b',\n\t\t'--no-c',\n\t\t'-d',\n\t\t'5',\n\t\t'-e',\n\t\t'foo',\n\t\t'-e',\n\t\t'bar',\n\t\t'-h',\n\t\t'with a space',\n\t\t'-i',\n\t\t'let\\'s try quotes',\n\t\t'--camel-case-camel',\n\t\t'some',\n\t\t'option',\n\t\t'--',\n\t\t'other',\n\t\t'args',\n\t\t'-z',\n\t\t'--camelCaseOpt'\n\t]);\n});\n\ntest('exclude options', t => {\n\tt.deepEqual(dargs(fixture, {excludes: ['b', /^e$/, 'h', 'i']}), [\n\t\t'-a=foo',\n\t\t'--no-c',\n\t\t'-d=5',\n\t\t'--camel-case-camel',\n\t\t'some',\n\t\t'option',\n\t\t'--',\n\t\t'other',\n\t\t'args',\n\t\t'-z',\n\t\t'--camelCaseOpt'\n\t]);\n});\n\ntest('includes options', t => {\n\tt.deepEqual(dargs(fixture, {includes: ['a', 'c', 'd', 'e', /^camelCase.*/]}), [\n\t\t'-a=foo',\n\t\t'--no-c',\n\t\t'-d=5',\n\t\t'-e=foo',\n\t\t'-e=bar',\n\t\t'--camel-case-camel'\n\t]);\n});\n\ntest('excludes and includes options', t => {\n\tt.deepEqual(dargs(fixture, {\n\t\texcludes: ['a', 'd'],\n\t\tincludes: ['a', 'c', /^[de]$/, 'camelCaseCamel']\n\t}), [\n\t\t'--no-c',\n\t\t'-e=foo',\n\t\t'-e=bar',\n\t\t'--camel-case-camel'\n\t]);\n});\n\ntest('option to ignore true values', t => {\n\tt.deepEqual(dargs({foo: true}, {ignoreTrue: true}), []);\n});\n\ntest('option to ignore false values', t => {\n\tt.deepEqual(dargs({foo: false}, {ignoreFalse: true}), []);\n});\n\ntest('aliases option', t => {\n\tt.deepEqual(dargs({a: 'foo', file: 'test'}, {\n\t\taliases: {file: 'f'}\n\t}), [\n\t\t'-a=foo',\n\t\t'-f',\n\t\t'test'\n\t]);\n});\n\ntest('includes and aliases options', t => {\n\tt.deepEqual(dargs(fixture, {\n\t\tincludes: ['a', 'c', 'd', 'e', 'camelCaseCamel'],\n\t\taliases: {a: 'a'}\n\t}), [\n\t\t'-a',\n\t\t'foo',\n\t\t'--no-c',\n\t\t'-d=5',\n\t\t'-e=foo',\n\t\t'-e=bar',\n\t\t'--camel-case-camel'\n\t]);\n});\n\ntest('camelCase option', t => {\n\tt.deepEqual(dargs(fixture, {\n\t\tallowCamelCase: true\n\t}), [\n\t\t'-a=foo',\n\t\t'-b',\n\t\t'--no-c',\n\t\t'-d=5',\n\t\t'-e=foo',\n\t\t'-e=bar',\n\t\t'-h=with a space',\n\t\t'-i=let\\'s try quotes',\n\t\t'--camelCaseCamel',\n\t\t'some',\n\t\t'option',\n\t\t'--',\n\t\t'other',\n\t\t'args',\n\t\t'-z',\n\t\t'--camelCaseOpt'\n\t]);\n});\n\ntest('shortFlag option', t => {\n\tt.deepEqual(dargs({a: 123, b: 'foo', foo: 'bar', camelCaseCamel: true}, {\n\t\tshortFlag: false\n\t}), [\n\t\t'--a=123',\n\t\t'--b=foo',\n\t\t'--foo=bar',\n\t\t'--camel-case-camel'\n\t]);\n});\n"
  }
]