{"id":17291218,"url":"https://github.com/l-hammer/ydt-cli","last_synced_at":"2025-04-14T11:51:26.616Z","repository":{"id":57403428,"uuid":"132079548","full_name":"l-hammer/YDT-cli","owner":"l-hammer","description":"🛠️CLI for rapid Vue/jQuery development mini project.","archived":false,"fork":false,"pushed_at":"2018-06-19T09:41:37.000Z","size":884,"stargazers_count":6,"open_issues_count":1,"forks_count":3,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-28T00:51:18.129Z","etag":null,"topics":["cli","template-project","ydtemplate"],"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/l-hammer.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":"2018-05-04T03:12:04.000Z","updated_at":"2024-03-04T11:04:10.000Z","dependencies_parsed_at":"2022-09-04T06:13:09.674Z","dependency_job_id":null,"html_url":"https://github.com/l-hammer/YDT-cli","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/l-hammer%2FYDT-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/l-hammer%2FYDT-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/l-hammer%2FYDT-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/l-hammer%2FYDT-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/l-hammer","download_url":"https://codeload.github.com/l-hammer/YDT-cli/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248877986,"owners_count":21176239,"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","template-project","ydtemplate"],"created_at":"2024-10-15T10:40:26.015Z","updated_at":"2025-04-14T11:51:26.580Z","avatar_url":"https://github.com/l-hammer.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n    \u003cimg src=\"./static/logo.png\" width=\"329\"\u003e\n    \u003cp align=\"center\"\u003e\n        \u003ca href=\"https://ci.appveyor.com/project/l-hammer/ydt-cli/branch/master\" target=\"_blank\"\u003e\u003cimg src=\"https://ci.appveyor.com/api/projects/status/u2i8y2jadt0ep6e1/branch/master?svg=true\"\u003e\u003c/a\u003e\n        \u003ca href=\"https://www.npmjs.com/package/ydt-cli\"\u003e\u003cimg src=\"https://img.shields.io/npm/v/ydt-cli.svg?style=flat\u0026colorB=brightgreen\"\u003e\u003c/a\u003e\n        \u003cimg src=\"https://img.shields.io/npm/dt/ydt-cli.svg\"\u003e\n        \u003ca href=\"https://codeclimate.com/github/l-hammer/YDT-cli/maintainability\"\u003e\u003cimg src=\"https://api.codeclimate.com/v1/badges/068dc24759d97e29a808/maintainability\"\u003e\u003c/a\u003e\n    \u003c/p\u003e\n    \u003cp align=\"center\"\u003e\n        A simple CLI for scaffolding YDTemplate projects.\n        \u003cbr\u003e\n    \u003c/p\u003e\n\u003c/p\u003e\n\n## Installation\n\nPrerequisites: Node.js (\u003e=8.x, 10.x preferred), npm version 5+ and [Git](https://git-scm.com/).\n\n```bash\n$ npm install -g ydt-cli\n```\n\n## Usage\n\n```bash\n$ ydt -h\n$ ydt list\n$ ydt init -h\n$ ydt init \u003ctemplate-name\u003e \u003cproject-name\u003e\n$ ydt init \u003ctemplate-name\u003e \u003cproject-name\u003e --offline\n```\n\n\u003cdiv align=\"center\"\u003e\u003cimg src=\"static/command.jpeg\" width=\"100%\" align=\"center\"/\u003e\u003c/div\u003e\n\n#### Example:\n\n```bash\n$ ydt list\n```\n\nlist available official templates\n\n\u003cdiv align=\"center\"\u003e\u003cimg src=\"static/templates.jpeg\" width=\"100%\" align=\"center\"/\u003e\u003c/div\u003e\n\n```bash\n$ ydt init YDTemplate my-project\n```\n\nThe above command pulls the template from [l-hammer/YDTemplate](https://github.com/l-hammer/YDTemplate), prompts for some information, and generates the project at `./my-project/`.\n\n\u003cdiv align=\"center\"\u003e\u003cimg src=\"static/generate.jpeg\" width=\"100%\" align=\"center\"/\u003e\u003c/div\u003e\n\n```bash\n$ ydt init YDTemplate my-project --offline\n```\n\nThe above command pulls the template from local cached template([$HOME](https://www.npmjs.com/package/user-home)/.YDTemplates/YDTemplate), prompts for some information, and generates the project at `./my-project/`.\n\n\u003cdiv align=\"center\"\u003e\u003cimg src=\"static/generatefromcache.jpeg\" width=\"100%\" align=\"center\"/\u003e\u003c/div\u003e\n\n## Templates\n\n\u003e * [YDTemplate](https://github.com/l-hammer/YDTemplate) - A Flexible Template of Parcel + Vue/jQuery + Hot-reload + Node proxy/Mock data.\n\n## Custom Templates\n\nIt's unlikely to make everyone happy with the official templates. You can simply fork an unofficial template and then use it via ydt-cli with:\n\n```bash\n$ ydt init username/\u003ccustom template\u003e \u003cproject-name\u003e\n```\n\n## Local Templates\n\nInstead of a GitHub repo, you can also use a template on your local file system:\n\n```bash\n$ ydt init ~/path/\u003ccustom template\u003e \u003cproject-name\u003e\n```\n\n## Contributing ![PRs](https://img.shields.io/badge/PRs-welcome-brightgreen.svg?longCache=true\u0026style=flat-square)\n\n- :fork_and_knife:Fork it!\n- :twisted_rightwards_arrows:Create your branch: `git checkout -b my-new-feature`\n- :wrench:Make your changes\n- :memo:Commit your changes: `git commit -am 'Add some feature'`\n- :rocket:Push to the branch: `git push origin my-new-feature`\n- :tada:Submit a pull request\n\nor submit an [issue](https://github.com/l-hammer/You-need-to-know-css/issues) - any helpful suggestions are welcomed. :stuck_out_tongue_winking_eye:\n\n## License\n\n[![FOSSA Status](https://app.fossa.io/api/projects/git%2Bgithub.com%2Fl-hammer%2FYDT-cli.svg?type=small)](https://app.fossa.io/projects/git%2Bgithub.com%2Fl-hammer%2FYDT-cli?ref=badge_small)\n\n[MIT](https://github.com/l-hammer/You-need-to-know-css/blob/master/LICENSE) © 2018 LHammer","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fl-hammer%2Fydt-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fl-hammer%2Fydt-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fl-hammer%2Fydt-cli/lists"}