{"id":15015977,"url":"https://github.com/lifeart/ember-fast-cli","last_synced_at":"2025-04-12T09:31:24.018Z","repository":{"id":55408123,"uuid":"228918445","full_name":"lifeart/ember-fast-cli","owner":"lifeart","description":"Ember Fast CLI - fast command line inteface for ember projects","archived":false,"fork":false,"pushed_at":"2021-01-02T09:33:01.000Z","size":657,"stargazers_count":28,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-10-26T17:15:11.068Z","etag":null,"topics":["addon","blueprints","cli","ember-cli","emberjs"],"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/lifeart.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-12-18T20:42:51.000Z","updated_at":"2024-02-10T18:29:17.000Z","dependencies_parsed_at":"2022-08-14T23:40:44.213Z","dependency_job_id":null,"html_url":"https://github.com/lifeart/ember-fast-cli","commit_stats":null,"previous_names":[],"tags_count":15,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lifeart%2Fember-fast-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lifeart%2Fember-fast-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lifeart%2Fember-fast-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lifeart%2Fember-fast-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lifeart","download_url":"https://codeload.github.com/lifeart/ember-fast-cli/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":222920968,"owners_count":17058103,"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":["addon","blueprints","cli","ember-cli","emberjs"],"created_at":"2024-09-24T19:48:14.118Z","updated_at":"2024-11-07T12:03:42.925Z","avatar_url":"https://github.com/lifeart.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"ember-fast-cli\n==============================================================================\n\nThis addon allow execute cli commands on running `ember-cli` instance.\n\n`ember-cli` commands execution relatively slow, because we need to `revalidate` all dependencies and `initialize` all addons on each command execution (we have to boot full `cli` to execute any blueprint).\n\nIt may take up to `5-20s` to generate component using `ember g component foo-bar`.\n\nBut, if we will execute commands on already started cli (development server, running by `ember s`), we can get __500x__ boost on `cli` performance, for my case component generation time reduced from `10s` to `0.2s`.\n\n\n![terminal](previews/terminal.png)\n\n\n\nCompatibility\n------------------------------------------------------------------------------\n\n* Ember.js v3.16 or above\n* Ember CLI v2.13 or above\n* Node.js v10 or above\n\n\nInstallation\n------------------------------------------------------------------------------\n\n```\nember install ember-fast-cli\n```\n\n\nUsage\n------------------------------------------------------------------------------\n\n\u003cdetails\u003e\n  \u003csummary\u003eHow to run addon with `ember-cli \u003c 3.16.0`\u003c/summary\u003e\n  \nedit `node_modules/ember-cli/lib/cli/index.js` and add one line\n\n```js\ncli.env = environment; // \u003c-- we need to add this line\n```\n\n[here:](https://github.com/ember-cli/ember-cli/blob/7d80dbf3a28f23044c1c7544db6f7ca3792185a3/lib/cli/index.js#L145)\n\n\n```js\n  let environment = {\n    tasks: loadTasks(),\n    cliArgs: options.cliArgs,\n    commands: loadCommands(),\n    project,\n    settings: merge(defaultUpdateCheckerOptions, config.getAll()),\n  };\n\n  cli.env = environment; // \u003c-- we need to add this line\n\n  return cli.run(environment).finally(() =\u003e willInterruptProcess.release());\n```\n\n\u003c/details\u003e\n\n\n\nAfter you have started your development server using `ember serve`, this addon adds a custom middleware listening to `/cli` endpoint. \n\nOpen [http://localhost:4200/cli](http://localhost:4200/cli) in your web browser to access `fast-cli`.\n\ntype: `g component foo-bar` + Enter\n\nCheck files! Repeat if you enjoying it. Star if you like it! :)\n\nAlso, `ember-fast-cli` working with [Unstable Ember Language Server](https://marketplace.visualstudio.com/items?itemName=lifeart.vscode-ember-unstable), and allow developers to execute `ember-cli` commands from `vscode` command interface. Open `vscode` command line and search for `Ember`.\n\nContributing\n------------------------------------------------------------------------------\n\nSee the [Contributing](CONTRIBUTING.md) guide for details.\n\n\nLicense\n------------------------------------------------------------------------------\n\nThis project is licensed under the [MIT License](LICENSE.md).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flifeart%2Fember-fast-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flifeart%2Fember-fast-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flifeart%2Fember-fast-cli/lists"}