serverless-plugin-info-json

1.0.2 • Public • Published

serverless-plugin-info-json

A Serverless plugin that adds JSON and file output options to the info command.

NOTE: Only supports AWS provider.

Installation

First, install the plugin via npm:

npm install serverless-plugin-info-json

Second, edit your serverless.yml file and add the following section:

plugins:
  - serverless-plugin-info-json

Usage

In addition to the normal command line arguments provided by the info command, this plugin allows you use the following extra arguments as well:

  • --json / -j Format output as JSON instead of text.
  • --file <FILE> / -f <FILE> Send command output to the specified file instead of stdout.

/serverless-plugin-info-json/

    Package Sidebar

    Install

    npm i serverless-plugin-info-json

    Weekly Downloads

    143

    Version

    1.0.2

    License

    MIT

    Unpacked Size

    4.25 kB

    Total Files

    3

    Last publish

    Collaborators

    • jkehres