{"id":17137463,"url":"https://github.com/easingthemes/fmp-arguments","last_synced_at":"2025-03-24T07:16:28.945Z","repository":{"id":75134440,"uuid":"139907074","full_name":"easingthemes/fmp-arguments","owner":"easingthemes","description":null,"archived":false,"fork":false,"pushed_at":"2018-07-05T23:07:47.000Z","size":5,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-03-16T21:23:05.337Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/easingthemes.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-07-05T22:34:47.000Z","updated_at":"2018-07-05T23:07:48.000Z","dependencies_parsed_at":"2023-06-05T11:30:31.719Z","dependency_job_id":null,"html_url":"https://github.com/easingthemes/fmp-arguments","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/easingthemes%2Ffmp-arguments","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/easingthemes%2Ffmp-arguments/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/easingthemes%2Ffmp-arguments/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/easingthemes%2Ffmp-arguments/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/easingthemes","download_url":"https://codeload.github.com/easingthemes/fmp-arguments/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245224582,"owners_count":20580367,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-14T20:07:05.928Z","updated_at":"2025-03-24T07:16:28.920Z","avatar_url":"https://github.com/easingthemes.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"### Escaping quotes in npm task arguments\n\n1. Using FMP:\n\n```\nfmp-arguments $mvn clean install\n\n[INFO] ------------------------------------------------------------------------\n[INFO] Building fmp quotes 1.0.0\n[INFO] ------------------------------------------------------------------------\n\n[INFO] --- frontend-maven-plugin:1.6:npm (Run Script: run npm task with quotes) @ fmp-quotes ---\n[INFO] Running 'npm run fmp -- --myarg \"Has Space\"' in /fmp-arguments\n[INFO]\n[INFO] \u003e node ./index \"--myarg\" \"\\\"Has\" \"Space\\\"\"\n[INFO]\n[INFO] [ '\"Has', 'Space\"' ]\n\n[INFO] --- frontend-maven-plugin:1.6:npm (Run Script: run npm task with escaped quotes) @ fmp-quotes ---\n[INFO] Running 'npm run fmp -- --myarg \\\"Has Space\\\"' in /fmp-arguments\n[INFO]\n[INFO] \u003e node ./index \"--myarg\" \"\\\\\"Has\" \"Space\\\\\"\"\n[INFO]\n[INFO] [ '\\\\Has Space\\\\' ]\n\n[INFO] --- frontend-maven-plugin:1.6:npm (Run Script: run npm task without quotes) @ fmp-quotes ---\n[INFO] Running 'npm run fmp -- --myarg Has Space' in /fmp-arguments\n[INFO] \n[INFO] \u003e node ./index \"--myarg\" \"Has\" \"Space\"\n[INFO] \n[INFO] [ 'Has', 'Space' ]\n\n[INFO] ------------------------------------------------------------------------\n[INFO] BUILD SUCCESS\n[INFO] ------------------------------------------------------------------------\n```\n\n2. Runing in console:\n\n```\nfmp-arguments $npm run fmp -- --myarg \"Has Space\"\n\u003e node ./index \"--myarg\" \"Has Space\"\n[ 'Has Space' ]\n\nfmp-arguments $npm run fmp -- --myarg \\\"Has Space\\\"\n\u003e node ./index \"--myarg\" \"\\\"Has\" \"Space\\\"\"\n[ '\"Has', 'Space\"' ]\n\nfmp-arguments $npm run fmp -- --myarg Has Space\n\u003e node ./index \"--myarg\" \"Has\" \"Space\"\n[ 'Has', 'Space' ]\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feasingthemes%2Ffmp-arguments","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feasingthemes%2Ffmp-arguments","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feasingthemes%2Ffmp-arguments/lists"}