{"id":19874435,"url":"https://github.com/strongloop/loopback-cli","last_synced_at":"2025-04-09T09:08:14.601Z","repository":{"id":54960747,"uuid":"76358146","full_name":"strongloop/loopback-cli","owner":"strongloop","description":"LoopBack CLI tool for creating projects, models and more.","archived":false,"fork":false,"pushed_at":"2021-01-19T15:11:56.000Z","size":1166,"stargazers_count":106,"open_issues_count":1,"forks_count":40,"subscribers_count":21,"default_branch":"master","last_synced_at":"2025-04-02T05:09:58.504Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/strongloop.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGES.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":"CODEOWNERS","security":null,"support":null}},"created_at":"2016-12-13T12:47:42.000Z","updated_at":"2025-02-13T12:28:08.000Z","dependencies_parsed_at":"2022-08-14T07:30:50.178Z","dependency_job_id":null,"html_url":"https://github.com/strongloop/loopback-cli","commit_stats":null,"previous_names":[],"tags_count":23,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/strongloop%2Floopback-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/strongloop%2Floopback-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/strongloop%2Floopback-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/strongloop%2Floopback-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/strongloop","download_url":"https://codeload.github.com/strongloop/loopback-cli/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248008630,"owners_count":21032556,"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-11-12T16:23:18.862Z","updated_at":"2025-04-09T09:08:14.579Z","avatar_url":"https://github.com/strongloop.png","language":"JavaScript","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"readme":"# loopback-cli\n\nLoopBack CLI tool for creating projects, models and more.\nThis package supersedes the older `slc` tool.\n\n**⚠️ LoopBack 3 has reached end of life. We are no longer accepting pull requests or providing \nsupport for community users. The only exception is fixes for critical bugs and security \nvulnerabilities provided as part of support for IBM API Connect customers. (See\n[Module Long Term Support Policy](#module-long-term-support-policy) below.)**\n\nWe urge all LoopBack 3 users to migrate their applications to LoopBack 4 as\nsoon as possible. Refer to our\n[Migration Guide](https://loopback.io/doc/en/lb4/migration-overview.html)\nfor more information on how to upgrade.\n\n## Installation\n\nTo install the LoopBack CLI tool:\n\n```\n$ npm install -g loopback-cli\n```\n\n## Use\n\n### Getting started\n\n 1. Run `lb [appName]` to create a new LoopBack application.\n 2. Run `node .` to start the scaffolded server.\n\n### What's next\n\nRun `lb -l` to list all available commands:\n\n```\n$ lb -l\nAvailable commands:\n  lb acl\n  lb app\n  lb boot-script\n  lb bluemix\n  lb datasource\n  lb export-api-def\n  lb middleware\n  lb model\n  lb property\n  lb relation\n  lb remote-method\n  lb soap\n  lb swagger\n  lb zosconnectee\n```\n\nRun `lb \u003ccommand\u003e --help` to learn more about each command. For example:\n\n```\n$ lb model --help\nUsage:\n  lb model [options] [\u003cname\u003e]\n\nOptions:\n  -h,   --help          # Print the generator's options and usage\n        --skip-cache    # Do not remember prompt answers             Default: false\n        --skip-install  # Do not automatically install dependencies  Default: false\n\nArguments:\n  name  # Name of the model to create.  Type: String  Required: false\n\nDescription:\n  Creates a new Model in the LoopBack application.\n\nExample:\n\n  lb model Product\n\n  This adds an entry to `Product.json` defining the model \"Product\".\n```\n\nRefer to [Create a simple API](http://loopback.io/doc/en/lb3/Create-a-simple-API.html) \nfor more information.\n\nRefer to [README_Soap](./soap/README_Soap.md) for more information on 'lb soap' command.\n## Contributing\n\nIBM/StrongLoop is an active supporter of open source and welcomes contributions\nto our projects as well as those of the Node.js community in general. For more\ninformation on how to contribute please refer to the\n[Contribution Guide](CONTRIBUTING.md).\n\n## Mailing List\n\nDiscuss features and ask questions on\n[LoopBack Forum](https://groups.google.com/forum/#!forum/loopbackjs).\n\n## License\n\nMIT\n\n## Module Long Term Support Policy\nThis module adopts the [Module Long Term Support (LTS)](http://github.com/CloudNativeJS/ModuleLTS) policy, with the following End Of Life (EOL) dates:\n\n| Version | Status          | Published | EOL      |\n| ------- | --------------- | --------- | -------- |\n| 5.x     | End-of-Life     | Nov 2018  | Dec 2020 |\n| 4.x     | End-of-Life     | Sep 2017  | Dec 2019 |\n| 3.x     | End-of-Life     | Jul 2017  | Apr 2019 |\n\nLearn more about our LTS plan in the [docs](https://loopback.io/doc/en/contrib/Long-term-support.html).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstrongloop%2Floopback-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstrongloop%2Floopback-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstrongloop%2Floopback-cli/lists"}