{"id":22085520,"url":"https://github.com/joernberkefeld/copado-mock","last_synced_at":"2025-10-28T01:01:53.679Z","repository":{"id":57680461,"uuid":"485415222","full_name":"JoernBerkefeld/copado-mock","owner":"JoernBerkefeld","description":"Copado functions mock. see JoernBerkefeld/copado-git-get-mock for sibling method","archived":false,"fork":false,"pushed_at":"2023-07-17T19:11:08.000Z","size":557,"stargazers_count":1,"open_issues_count":6,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-03-16T04:02:37.694Z","etag":null,"topics":["copado","mock","multicloud"],"latest_commit_sha":null,"homepage":"","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/JoernBerkefeld.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}},"created_at":"2022-04-25T14:54:08.000Z","updated_at":"2022-11-14T13:26:15.000Z","dependencies_parsed_at":"2023-02-12T04:33:01.885Z","dependency_job_id":null,"html_url":"https://github.com/JoernBerkefeld/copado-mock","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JoernBerkefeld%2Fcopado-mock","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JoernBerkefeld%2Fcopado-mock/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JoernBerkefeld%2Fcopado-mock/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JoernBerkefeld%2Fcopado-mock/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/JoernBerkefeld","download_url":"https://codeload.github.com/JoernBerkefeld/copado-mock/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245175476,"owners_count":20572787,"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":["copado","mock","multicloud"],"created_at":"2024-12-01T01:14:51.494Z","updated_at":"2025-10-28T01:01:53.669Z","avatar_url":"https://github.com/JoernBerkefeld.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Mock for Copado command\n\n[![view on npm](https://badgen.net/github/release/JoernBerkefeld/copado-mock)](https://www.npmjs.org/package/copado-mock)\n[![view on npm](https://badgen.net/npm/node/copado-mock)](https://www.npmjs.org/package/copado-mock)\n[![license](https://badgen.net/npm/license/copado-mock)](https://www.npmjs.org/package/copado-mock)\n[![npm module downloads](https://badgen.net/npm/dt/copado-mock)](https://www.npmjs.org/package/copado-mock)\n[![GitHub closed issues](https://badgen.net/github/closed-issues/JoernBerkefeld/copado-mock)](https://github.com/JoernBerkefeld/copado-mock/issues?q=is%3Aissue+is%3Aclosed)\n[![GitHub releases](https://badgen.net/github/releases/JoernBerkefeld/copado-mock)](https://github.com/JoernBerkefeld/copado-mock/releases)\n\nThis very simple mock-version of `copado` seeks to allow developers local testing without the need of uploading their code to Copado functions online.\n\nCurrently the functionality is limited to checking if parameters are correct without actually implementing anything but a `console.log` for each correct command.\n\n## Install\n\n```bash\nnpm install -g copado-mock\n```\n\n## Supported options\n\n- `--progress \"your message\"` (alias: `-p`)\n- `--error-message \"your message\" -p \"Error\"` (aliases: `-e`, `--error`) - note that adding `-p` is required!\n- `--result-data \"your message\" -p \"Done\"` (alias: `-r`) - note that adding `-p` is required!\n- `--uploadfile \"temp/file/path.js\" --name \"somefile.js\" --parentid` (alias: `-u`); adding `--name` seems to be optional\n  - `--name \"name of file.js\"`\n  - `--parentid \"salesforce id to which a file shall be uploaded to\"`\n- `--downloadfiles \"temp/file/path.js\"`\n  - `--parentid \"salesforce id to which a file shall be uploaded to\"`\n\n## Examples\n\n```bash\ncopado --error-message \"help, we are sinking!\" -p \"Error\"\ncopado --uploadfile \"temp/file/path.js\" --parentid \"0015500000WOHciAAH\" --name \"best-file-ever.js\"\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjoernberkefeld%2Fcopado-mock","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjoernberkefeld%2Fcopado-mock","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjoernberkefeld%2Fcopado-mock/lists"}