{"id":20725316,"url":"https://github.com/l-chris/fcmd","last_synced_at":"2026-06-15T20:31:44.808Z","repository":{"id":57233764,"uuid":"157667501","full_name":"L-Chris/fcmd","owner":"L-Chris","description":"a improved version of commander.js","archived":false,"fork":false,"pushed_at":"2018-11-18T05:53:50.000Z","size":15,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-03-11T08:50:29.174Z","etag":null,"topics":["command-line-tool","commanderjs","nodejs"],"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/L-Chris.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2018-11-15T07:06:45.000Z","updated_at":"2018-11-18T05:53:45.000Z","dependencies_parsed_at":"2022-08-31T14:11:40.099Z","dependency_job_id":null,"html_url":"https://github.com/L-Chris/fcmd","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/L-Chris/fcmd","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/L-Chris%2Ffcmd","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/L-Chris%2Ffcmd/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/L-Chris%2Ffcmd/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/L-Chris%2Ffcmd/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/L-Chris","download_url":"https://codeload.github.com/L-Chris/fcmd/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/L-Chris%2Ffcmd/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":269654070,"owners_count":24454318,"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","status":"online","status_checked_at":"2025-08-09T02:00:10.424Z","response_time":111,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["command-line-tool","commanderjs","nodejs"],"created_at":"2024-11-17T04:18:19.414Z","updated_at":"2026-06-15T20:31:44.775Z","avatar_url":"https://github.com/L-Chris.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# fcmd\na improved version of commander.js\n\n- more readable code structure\n- imporve sub command\n- most importantly, less bug!\n\n# Usage\n```javascript\nconst program = require('fcmd');\n\nprogram\n  .version('0.0.1') // default to version in package.json\n  .description('a demo cli')\n  .option('-u --username \u003cusername\u003e', 'username') // global option\n  .option('-p --password \u003cpassword\u003e', 'password') // global option\n  .action(() =\u003e console.log(1));                  // precommand action\n\nprogram\n  .command('test')\n  .option('-p --port', 'port option for test subcommand', parseInt, 8080)\n  .action((argv, args) =\u003e {\n    // do sth...\n  });\n\nprogram\n  .command('print')\n  .option('-t --text', 'text option for test subcommand')\n  .action((argv, args) =\u003e {\n    // do sth...\n  });\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fl-chris%2Ffcmd","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fl-chris%2Ffcmd","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fl-chris%2Ffcmd/lists"}