8.0.1 • Published 14 days ago

@sourceloop/cli v8.0.1

Weekly downloads
-
License
MIT
Repository
github
Last release
14 days ago

sourceloop-cli

This is a sourceloop based cli that provides commands to scaffold a monorepo, add extensions, facades and microservices to it.

Building

To install sourceloop-cli, run

npm install @sourceloop/cli

Usage

$ npm install -g @sourceloop/cli
$ sl COMMAND
running command...
$ sl (-v|--version|version)
@sourceloop/cli/8.0.1 linux-x64 node-v18.19.1
$ sl --help [COMMAND]
USAGE
  $ sl COMMAND
...

Commands

sl autocomplete [SHELL]

display autocomplete installation instructions

USAGE
  $ sl autocomplete [SHELL]

ARGUMENTS
  SHELL  shell type

OPTIONS
  -r, --refresh-cache  Refresh cache (ignores displaying instructions)

EXAMPLES
  $ sl autocomplete
  $ sl autocomplete bash
  $ sl autocomplete zsh
  $ sl autocomplete --refresh-cache

See code: @oclif/plugin-autocomplete

sl cdk

add arc-cdk

USAGE
  $ sl cdk

OPTIONS
  -a, --applicationClassName=applicationClassName  Class name of the service you want to deploy
  -d, --dir=dir                                    Name of the dir to store arc-cdk files
  -i, --iac=(lambda)                               iac for the service

  -o, --overwriteDockerfile                        Overwrite the existing Dockerfile for Lambda deployment (if it
                                                   exists)?

  -p, --packageJsonName=packageJsonName            Package name for arc-cdk

  -r, --relativePathToApp=relativePathToApp        Relative path to the service you want to deploy

  --help                                           show manual pages

See code: src/commands/cdk.ts

sl extension [NAME]

add an extension

USAGE
  $ sl extension [NAME]

ARGUMENTS
  NAME  Name of the extension

OPTIONS
  --help  show manual pages

See code: src/commands/extension.ts

sl help [COMMAND]

display help for sl

USAGE
  $ sl help [COMMAND]

ARGUMENTS
  COMMAND  command to show help for

OPTIONS
  --all  see all commands in CLI

See code: @oclif/plugin-help

sl microservice [NAME]

add a microservice

USAGE
  $ sl microservice [NAME]

ARGUMENTS
  NAME  Name of the microservice

OPTIONS
  -p, --uniquePrefix=uniquePrefix
      Unique prefix to be used for docker images

  -s, --baseService=(authentication-service|audit-service|chat-service|notification-service|bpmn-service|feature-toggle-
  service|in-mail-service|payment-service|scheduler-service|search-service|survey-service|task-service|video-conferencin
  g-service|user-tenant-service)
      Base ARC microservice

  --[no-]baseOnService
      Base on ARC microservice or not

  --customMigrations
      Setup custom migration for this microservice

  --datasourceName=datasourceName
      Name of the datasource to generate

  --datasourceType=(postgres|mysql)
      Type of the datasource

  --[no-]facade
      Create as facade

  --help
      show manual pages

  --includeMigrations
      Include base microservice migrations

  --sequelize
      Include sequelize as ORM in service

See code: src/commands/microservice.ts

sl scaffold [NAME]

create a project scaffold

USAGE
  $ sl scaffold [NAME]

ARGUMENTS
  NAME  name of the project

OPTIONS
  --cwd=cwd                  Directory where project will be scaffolded, instead of the project name
  --description=description  description of the repo
  --help                     show manual pages
  --integrateWithBackstage   Do you want to include backstage integration files?
  --issuePrefix=issuePrefix  Prefix to be used for issues(e.g. GH-)
  --owner=owner              owner of the repo

See code: src/commands/scaffold.ts

sl update

update the dependencies of a loopback project

USAGE
  $ sl update

OPTIONS
  --help  show manual pages

See code: src/commands/update.ts

8.0.1

14 days ago

8.0.0

21 days ago

7.2.2

1 month ago

4.3.4

2 months ago

7.2.1

2 months ago

7.2.0

2 months ago

7.1.4

3 months ago

4.3.3

3 months ago

7.1.3

3 months ago

7.1.2

3 months ago

4.3.2

3 months ago

7.1.1

3 months ago

7.1.0

3 months ago

7.0.0

3 months ago

6.1.0

4 months ago

6.0.3

4 months ago

6.0.1

4 months ago

6.0.2

4 months ago

6.0.0

4 months ago

4.2.1

6 months ago

4.2.0

6 months ago

5.0.1

5 months ago

5.0.0

5 months ago

4.1.4

8 months ago

4.1.3

9 months ago

4.1.5

6 months ago

4.1.0

9 months ago

4.3.0

5 months ago

4.1.2

9 months ago

4.1.1

9 months ago

3.0.14

12 months ago

3.0.15

11 months ago

4.0.4

10 months ago

4.0.1

10 months ago

4.0.0

10 months ago

4.0.3

10 months ago

4.0.2

10 months ago

3.0.9

1 year ago

3.0.12

1 year ago

3.0.13

12 months ago

3.0.10

1 year ago

3.0.11

1 year ago

3.0.8

1 year ago

3.0.4

1 year ago

3.0.3

1 year ago

3.0.2

1 year ago

3.0.1

1 year ago

3.0.7

1 year ago

3.0.6

1 year ago

3.0.5

1 year ago

2.4.3

2 years ago

2.4.5

1 year ago

2.4.4

2 years ago

3.0.0

1 year ago

2.4.1

2 years ago

2.4.2

2 years ago

2.3.3

2 years ago

2.3.0

2 years ago

2.2.1

2 years ago

2.0.3

2 years ago

2.2.0

2 years ago

2.3.1

2 years ago

2.0.4

2 years ago

2.1.0

2 years ago

1.2.6

2 years ago

1.2.5

2 years ago

1.2.4

2 years ago

1.2.3

2 years ago

1.2.2

2 years ago

2.0.2

2 years ago

2.0.1

2 years ago

1.2.1

2 years ago

1.2.0

2 years ago

1.1.3

2 years ago

1.1.2

2 years ago

1.1.1

2 years ago

1.1.0

2 years ago