{"id":19691877,"url":"https://github.com/yviscool/egg-pig-cli","last_synced_at":"2025-06-25T00:41:42.684Z","repository":{"id":57234552,"uuid":"133892241","full_name":"yviscool/egg-pig-cli","owner":"yviscool","description":"egg-pig cli","archived":false,"fork":false,"pushed_at":"2019-06-26T09:32:53.000Z","size":19,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-13T00:40:52.303Z","etag":null,"topics":["cli","cmd","egg","egg-pig"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/yviscool.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-05-18T02:25:10.000Z","updated_at":"2019-06-26T09:32:55.000Z","dependencies_parsed_at":"2022-09-15T04:12:25.618Z","dependency_job_id":null,"html_url":"https://github.com/yviscool/egg-pig-cli","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/yviscool/egg-pig-cli","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yviscool%2Fegg-pig-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yviscool%2Fegg-pig-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yviscool%2Fegg-pig-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yviscool%2Fegg-pig-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yviscool","download_url":"https://codeload.github.com/yviscool/egg-pig-cli/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yviscool%2Fegg-pig-cli/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261576864,"owners_count":23179721,"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","cmd","egg","egg-pig"],"created_at":"2024-11-11T19:11:33.278Z","updated_at":"2025-06-25T00:41:42.655Z","avatar_url":"https://github.com/yviscool.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# egg-pig-cli\n\n\n## Installation\n\n```bash\nnpm install -g egg-pig-cli\n```\n\n## Usage \n\n```hash\npig [command] [...options]\n```\n\n### generate (alias: g)\n\n\n| Option | Description | Required | \n| - | :-: | -: | \n| type | file type | true | \n| name | file name | true | \n| path | path | false |\n\nA list of available architecture components:\n\n* controller (alias: c|co|con)  \n* decorator (alias: d|de|dec)\n* filter (alias: f|fi|fil|ft)\n* exception (alias: e|ex|exce)\n* guard (alias: gu|gua)\n* interceptor (alias: i|in|int|inter)\n* pipe (alias: p|pi)\n* middleware (alias: m|mi|midd)\n\n\n**Example usage**\n\n```bash\npig generate controller user\npig g co user\n```\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyviscool%2Fegg-pig-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyviscool%2Fegg-pig-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyviscool%2Fegg-pig-cli/lists"}