Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 9 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,14 @@
LoopBack CLI tool for creating projects, models and more.
This package supersedes the older `slc` tool.

This module is in Active LTS mode, new features are no longer accepted.
(See [Module Long Term Support Policy](#module-long-term-support-policy) below.)
**⚠️ LoopBack 3 is in Maintenance LTS mode, only critical bugs and critical
security fixes will be provided. (See
[Module Long Term Support Policy](#module-long-term-support-policy) below.)**

LoopBack 3 users looking for new features are encouraged to upgrade to LoopBack 4. Refer to [loopback-next#1849](https://github.com/strongloop/loopback-next/issues/1849) for more information on how to upgrade.
We urge all LoopBack 3 users to migrate their applications to LoopBack 4 as
soon as possible. Refer to our
[Migration Guide](https://loopback.io/doc/en/lb4/migration-overview.html)
for more information on how to upgrade.

## Installation

Expand Down Expand Up @@ -96,8 +100,8 @@ This module adopts the [Module Long Term Support (LTS)](http://github.com/CloudN

| Version | Status | Published | EOL |
| ------- | --------------- | --------- | -------- |
| 5.x | Active LTS | Nov 2018 | Dec 2019 |
| 4.x | Maintenance LTS | Sep 2017 | Dec 2019 |
| 5.x | Maintenance LTS | Nov 2018 | Dec 2020 |
| 4.x | End-of-Life | Sep 2017 | Dec 2019 |
| 3.x | End-of-Life | Jul 2017 | Apr 2019 |

Learn more about our LTS plan in the [docs](https://loopback.io/doc/en/contrib/Long-term-support.html).
9 changes: 9 additions & 0 deletions bin/loopback-cli.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,19 @@

const assert = require('assert');
const camelCaseKeys = require('camelcase-keys');
const chalk = require('ansi-colors');
const debug = require('debug')('loopback:cli');
const minimist = require('minimist');
const path = require('path');

console.log(chalk.bold(chalk.red(`
LoopBack 3 is in Maintenance LTS mode, only critical bugs and critical
security fixes will be provided. The support ends in December 2020. We
urge all LoopBack 3 users to migrate their applications to LoopBack 4
as soon as possible. Refer to our Migration Guide for more information
on how to upgrade: https://loopback.io/doc/en/lb4/migration-overview.html
`)));

const opts = minimist(process.argv.slice(2), {
alias: {
help: 'h',
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
}
},
"dependencies": {
"ansi-colors": "^4.1.1",
"camelcase-keys": "^4.2.0",
"debug": "^4.0.1",
"generator-loopback": "^6.0.0",
Expand Down
7 changes: 7 additions & 0 deletions test/fixtures/help-lb-acl.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@

LoopBack 3 is in Maintenance LTS mode, only critical bugs and critical
security fixes will be provided. The support ends in December 2020. We
urge all LoopBack 3 users to migrate their applications to LoopBack 4
as soon as possible. Refer to our Migration Guide for more information
on how to upgrade: https://loopback.io/doc/en/lb4/migration-overview.html

Usage:
lb acl [options]

Expand Down
7 changes: 7 additions & 0 deletions test/fixtures/help-lb-bluemix.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@

LoopBack 3 is in Maintenance LTS mode, only critical bugs and critical
security fixes will be provided. The support ends in December 2020. We
urge all LoopBack 3 users to migrate their applications to LoopBack 4
as soon as possible. Refer to our Migration Guide for more information
on how to upgrade: https://loopback.io/doc/en/lb4/migration-overview.html

Usage:
lb bluemix [options]

Expand Down
7 changes: 7 additions & 0 deletions test/fixtures/help-lb-boot-script.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@

LoopBack 3 is in Maintenance LTS mode, only critical bugs and critical
security fixes will be provided. The support ends in December 2020. We
urge all LoopBack 3 users to migrate their applications to LoopBack 4
as soon as possible. Refer to our Migration Guide for more information
on how to upgrade: https://loopback.io/doc/en/lb4/migration-overview.html

Usage:
lb boot-script [options] [<name>]

Expand Down
7 changes: 7 additions & 0 deletions test/fixtures/help-lb-datasource.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@

LoopBack 3 is in Maintenance LTS mode, only critical bugs and critical
security fixes will be provided. The support ends in December 2020. We
urge all LoopBack 3 users to migrate their applications to LoopBack 4
as soon as possible. Refer to our Migration Guide for more information
on how to upgrade: https://loopback.io/doc/en/lb4/migration-overview.html

Usage:
lb datasource [options] [<name>]

Expand Down
7 changes: 7 additions & 0 deletions test/fixtures/help-lb-export-api-def.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@

LoopBack 3 is in Maintenance LTS mode, only critical bugs and critical
security fixes will be provided. The support ends in December 2020. We
urge all LoopBack 3 users to migrate their applications to LoopBack 4
as soon as possible. Refer to our Migration Guide for more information
on how to upgrade: https://loopback.io/doc/en/lb4/migration-overview.html

Usage:
lb export-api-def [options]

Expand Down
7 changes: 7 additions & 0 deletions test/fixtures/help-lb-middleware.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@

LoopBack 3 is in Maintenance LTS mode, only critical bugs and critical
security fixes will be provided. The support ends in December 2020. We
urge all LoopBack 3 users to migrate their applications to LoopBack 4
as soon as possible. Refer to our Migration Guide for more information
on how to upgrade: https://loopback.io/doc/en/lb4/migration-overview.html

Usage:
lb middleware [options] [<name>]

Expand Down
7 changes: 7 additions & 0 deletions test/fixtures/help-lb-model.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@

LoopBack 3 is in Maintenance LTS mode, only critical bugs and critical
security fixes will be provided. The support ends in December 2020. We
urge all LoopBack 3 users to migrate their applications to LoopBack 4
as soon as possible. Refer to our Migration Guide for more information
on how to upgrade: https://loopback.io/doc/en/lb4/migration-overview.html

Usage:
lb model [options] [<name>]

Expand Down
7 changes: 7 additions & 0 deletions test/fixtures/help-lb-oracle.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@

LoopBack 3 is in Maintenance LTS mode, only critical bugs and critical
security fixes will be provided. The support ends in December 2020. We
urge all LoopBack 3 users to migrate their applications to LoopBack 4
as soon as possible. Refer to our Migration Guide for more information
on how to upgrade: https://loopback.io/doc/en/lb4/migration-overview.html

Usage:
lb oracle [options]

Expand Down
7 changes: 7 additions & 0 deletions test/fixtures/help-lb-property.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@

LoopBack 3 is in Maintenance LTS mode, only critical bugs and critical
security fixes will be provided. The support ends in December 2020. We
urge all LoopBack 3 users to migrate their applications to LoopBack 4
as soon as possible. Refer to our Migration Guide for more information
on how to upgrade: https://loopback.io/doc/en/lb4/migration-overview.html

Usage:
lb property [options]

Expand Down
7 changes: 7 additions & 0 deletions test/fixtures/help-lb-relation.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@

LoopBack 3 is in Maintenance LTS mode, only critical bugs and critical
security fixes will be provided. The support ends in December 2020. We
urge all LoopBack 3 users to migrate their applications to LoopBack 4
as soon as possible. Refer to our Migration Guide for more information
on how to upgrade: https://loopback.io/doc/en/lb4/migration-overview.html

Usage:
lb relation [options]

Expand Down
7 changes: 7 additions & 0 deletions test/fixtures/help-lb-remote-method.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@

LoopBack 3 is in Maintenance LTS mode, only critical bugs and critical
security fixes will be provided. The support ends in December 2020. We
urge all LoopBack 3 users to migrate their applications to LoopBack 4
as soon as possible. Refer to our Migration Guide for more information
on how to upgrade: https://loopback.io/doc/en/lb4/migration-overview.html

Usage:
lb remote-method [options] [<modelName>] [<methodName>]

Expand Down
7 changes: 7 additions & 0 deletions test/fixtures/help-lb-soap.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@

LoopBack 3 is in Maintenance LTS mode, only critical bugs and critical
security fixes will be provided. The support ends in December 2020. We
urge all LoopBack 3 users to migrate their applications to LoopBack 4
as soon as possible. Refer to our Migration Guide for more information
on how to upgrade: https://loopback.io/doc/en/lb4/migration-overview.html

Usage:
lb soap [options] [<url>]

Expand Down
7 changes: 7 additions & 0 deletions test/fixtures/help-lb-swagger.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@

LoopBack 3 is in Maintenance LTS mode, only critical bugs and critical
security fixes will be provided. The support ends in December 2020. We
urge all LoopBack 3 users to migrate their applications to LoopBack 4
as soon as possible. Refer to our Migration Guide for more information
on how to upgrade: https://loopback.io/doc/en/lb4/migration-overview.html

Usage:
lb swagger [options] [<url>]

Expand Down
7 changes: 7 additions & 0 deletions test/fixtures/help-lb-zosconnectee.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@

LoopBack 3 is in Maintenance LTS mode, only critical bugs and critical
security fixes will be provided. The support ends in December 2020. We
urge all LoopBack 3 users to migrate their applications to LoopBack 4
as soon as possible. Refer to our Migration Guide for more information
on how to upgrade: https://loopback.io/doc/en/lb4/migration-overview.html

Usage:
lb zosconnectee [options]

Expand Down
7 changes: 7 additions & 0 deletions test/fixtures/help-lb.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@

LoopBack 3 is in Maintenance LTS mode, only critical bugs and critical
security fixes will be provided. The support ends in December 2020. We
urge all LoopBack 3 users to migrate their applications to LoopBack 4
as soon as possible. Refer to our Migration Guide for more information
on how to upgrade: https://loopback.io/doc/en/lb4/migration-overview.html

Usage:
lb app [options] [<name>]

Expand Down