{"id":16151603,"url":"https://github.com/mizok/cli-template","last_synced_at":"2025-04-06T22:45:50.302Z","repository":{"id":210187742,"uuid":"725882195","full_name":"mizok/cli-template","owner":"mizok","description":"Create CLI project quickly!","archived":false,"fork":false,"pushed_at":"2023-12-11T05:50:14.000Z","size":91,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-13T05:17:02.014Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/mizok.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-12-01T04:11:16.000Z","updated_at":"2023-12-05T16:58:28.000Z","dependencies_parsed_at":"2024-11-02T00:40:36.836Z","dependency_job_id":"167fb363-a1be-412f-9c1b-fa1cb9213aa9","html_url":"https://github.com/mizok/cli-template","commit_stats":null,"previous_names":["mizok/cli-template"],"tags_count":0,"template":true,"template_full_name":"mizok/service-template","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mizok%2Fcli-template","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mizok%2Fcli-template/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mizok%2Fcli-template/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mizok%2Fcli-template/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mizok","download_url":"https://codeload.github.com/mizok/cli-template/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247563922,"owners_count":20958971,"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":[],"created_at":"2024-10-10T00:58:08.939Z","updated_at":"2025-04-06T22:45:50.282Z","avatar_url":"https://github.com/mizok.png","language":"TypeScript","readme":"# CLI Template\n\nThis is a template repository for building Node.js based CLI using [TypeScript](https://www.typescriptlang.org/) and [esbuild](https://esbuild.github.io/).\n\n## Features\n\n- **TypeScript:** Write your server-side code using TypeScript for better developer experience and static typing.\n- **esbuild:** A fast JavaScript bundler that allows for efficient bundling and building of your TypeScript code.\n- **Husky \u0026 Commitlint:** Enforce commit message conventions with Husky and Commitlint to maintain a clean and standardized Git history.\n- **chalk.js:** For better and colorful console message/error.\n- **@inquirer:** For better CLI user experience.\n\n## Getting Started\n\n### Prerequisites\n\nBefore you begin, ensure you have the following installed on your machine:\n\n- [Node.js](https://nodejs.org/)(16.17.0+)\n\n### Installation\n\n1. Clone the repository:\n\n   ```bash\n   git clone https://github.com/mizok/cli-template.git\n   ```\n\n2. Install dependencies:\n\n   ```bash\n   npm install\n   ```\n\n3. Automatic Setup\n\n   The `postinstall.ts` script automates the setup process by performing the following tasks:\n\n   1. Executes `npx husky install` to set up Husky.\n   2. Deletes the `postinstall` script from package.json.\n   3. Deletes the `postinstall.ts` script itself.\n   4. To execute this setup, it is automatically triggered during the installation process.\n\n### build and pack\n\n- To build CLI, use:\n\n  ```bash\n  npm run build\n  ```\n\n- To pack, run:\n\n  ```bash\n  npm run pack\n  ```\n\n## License\n\nThis project is licensed under the MIT License - see the LICENSE file for details.\n\n## Issues\n\nIf you encounter any issues or have questions, feel free to open an issue on the GitHub Issues page.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmizok%2Fcli-template","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmizok%2Fcli-template","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmizok%2Fcli-template/lists"}