{"id":19889547,"url":"https://github.com/tsmx/commander-options","last_synced_at":"2026-04-22T16:33:28.261Z","repository":{"id":53341485,"uuid":"400883992","full_name":"tsmx/commander-options","owner":"tsmx","description":"Hands-on tutorial for the various option features of Commander.","archived":false,"fork":false,"pushed_at":"2023-04-30T19:15:54.000Z","size":5,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-08T06:41:49.689Z","etag":null,"topics":["cli","commander","hands-on","nodejs","options","tutorial"],"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/tsmx.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":"2021-08-28T20:25:34.000Z","updated_at":"2023-04-30T19:15:58.000Z","dependencies_parsed_at":"2024-11-12T18:10:49.801Z","dependency_job_id":"c16581f6-17ac-418d-bfb4-f3129a0865b4","html_url":"https://github.com/tsmx/commander-options","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/tsmx/commander-options","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tsmx%2Fcommander-options","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tsmx%2Fcommander-options/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tsmx%2Fcommander-options/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tsmx%2Fcommander-options/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tsmx","download_url":"https://codeload.github.com/tsmx/commander-options/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tsmx%2Fcommander-options/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32145699,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-22T15:33:03.595Z","status":"ssl_error","status_checked_at":"2026-04-22T15:30:42.712Z","response_time":58,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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","commander","hands-on","nodejs","options","tutorial"],"created_at":"2024-11-12T18:10:40.982Z","updated_at":"2026-04-22T16:33:23.253Z","avatar_url":"https://github.com/tsmx.png","language":"JavaScript","readme":"# commander-options\n\n\u003e Accompanying sample program for the [Commander options hands-on](https://tsmx.net/commander-options/).\n\nThe intention of this project is to get familiar with all features of the option features available in [Commander](https://www.npmjs.com/package/commander).\n\n## Using the program\n\nSimply start the program including the desired arguments for the options by executing `app.js`. The output will show you if the program or a sub-command was executed and what are the options values passed to your code by logging out the corresponding JSON objects. Like so...\n\n```bash\n$ node app.js -r test123 -b\nprogram executed\nprogram options:\n{\n  \"default\": \"standardValue\",\n  \"booldefault\": false,\n  \"boolvariant\": false,\n  \"concat\": \"\",\n  \"required\": \"test123\",\n  \"bool\": true\n}\n```\n\nFor a comprehensive documentation of all available features to try out with the program, please refer to the [hands-on article](https://tsmx.net/commander-options/).\n\n## Directly calling app.js\n\nThe main file `app.js` contains a shebang so that the program can be executed directly if it has sufficient rights.\n\n```bash\n$ chmod ug+x app.js\n$ ./app.js ...\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftsmx%2Fcommander-options","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftsmx%2Fcommander-options","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftsmx%2Fcommander-options/lists"}