{"id":15362243,"url":"https://github.com/nfantone/cpho","last_synced_at":"2026-01-20T01:58:37.869Z","repository":{"id":38251396,"uuid":"269626394","full_name":"nfantone/cpho","owner":"nfantone","description":"ContractingPlus Home Office command line tool (https://mycontractingplus.com/)","archived":false,"fork":false,"pushed_at":"2023-01-07T20:40:12.000Z","size":808,"stargazers_count":1,"open_issues_count":16,"forks_count":1,"subscribers_count":3,"default_branch":"develop","last_synced_at":"2025-02-12T20:21:46.799Z","etag":null,"topics":["cli","contracting","ework","js","nodejs","tool"],"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/nfantone.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":"2020-06-05T12:19:54.000Z","updated_at":"2023-02-17T17:54:21.000Z","dependencies_parsed_at":"2023-02-08T01:16:31.041Z","dependency_job_id":null,"html_url":"https://github.com/nfantone/cpho","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nfantone%2Fcpho","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nfantone%2Fcpho/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nfantone%2Fcpho/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nfantone%2Fcpho/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nfantone","download_url":"https://codeload.github.com/nfantone/cpho/tar.gz/refs/heads/develop","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247492549,"owners_count":20947545,"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":["cli","contracting","ework","js","nodejs","tool"],"created_at":"2024-10-01T12:59:27.689Z","updated_at":"2026-01-20T01:58:37.842Z","avatar_url":"https://github.com/nfantone.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# @nfantone/cpho\n\n![Contracting Plus](https://mycontractingplus.com/public/images_new/logo-login-cplus.jpg)\n\n\u003e **C**ontracting **P**lus **H**ome **O**ffice command line tool\n\nReliably upload daily E-Workers allowance to [mycontractingplus.com][contracting-plus] from the comfort of your home.\n\n```sh\n# Clone repository\ngit clone git@github.com:nfantone/cpho.git\ncd cpho\n\n# Install dependencies\nnpm i --production\n\n# Run test command\n./bin/cpho.js --version\n1.0.0\n```\n\nAlternatively, using `npx`:\n\n```sh\nnpx https://github.com/nfantone/cpho --version\nnpx: installed 87 in 7.784s\n1.0.0\n```\n\n## Requirements\n\n- `node` 12+\n- `npm` 6+\n\nFollow [official **Node.js** installation instructions][nodejs-dowload] for your system.\n\n## Quick guide\n\n```sh\ncpho.js \u003ccommand\u003e\n\nCommands:\n  cpho.js upload  uploads e-workers allowance for all weekdays in a given month + year\n\nOptions:\n      --help            Show help                                      [boolean]\n      --url             Base Contracting Plus URL\n                             [string] [default: \"https://mycontractingplus.com\"]\n  -u, --username        Contracting Plus username                       [string]\n  -p, --password        Contracting Plus password                       [string]\n  -d, --description     Contracting Plus allowance entry description\n                                              [string] [default: \"Pragmars LLC\"]\n      --hs, --hours     Contracting Plus allowance entry hours\n                                                           [number] [default: 8]\n      --min, --minutes  Contracting Plus allowance entry minutes        [number]\n  -m, --month           Index of month to upload allowance for (beginning with 0\n                        for January to 11 for December)    [number] [default: 8]\n  -y, --year            Year to upload allowance for    [number] [default: 2020]\n  -t, --throttle        Number of milliseconds to wait between allowance uploads\n                                                         [number] [default: 500]\n  -x, --exclude         If specified, an allowance will not be uploaded for\n                        these working days                 [array] [default: []]\n      --version         Show version number                            [boolean]\n```\n\n### Usage\n\n- Upload **monthly allowance** for **all weekdays in current month**.\n\n```sh\n./cpho.js upload -u myuser@company.org -p my-password\n```\n\n\u003e :bulb: If not provided using `-u` / `-p`, `cpho` will prompt for username and password.\n\n[contracting-plus]: https://mycontractingplus.com\n[nodejs-dowload]: https://nodejs.org/en/download/package-manager/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnfantone%2Fcpho","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnfantone%2Fcpho","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnfantone%2Fcpho/lists"}