Skip to content

Latest commit

 

History

History
47 lines (33 loc) · 1.11 KB

component.md

File metadata and controls

47 lines (33 loc) · 1.11 KB
title description position category
Component 命令
Component 命令
5
命令

Component 命令

component命令是获取已经安装的组件详情信息。

命令解析

当我们执行s component -h之后,可以进行相关帮助信息的查看:

$ s component -h
Usage: s component [options]

Get details of installed components.
  
  Example:
    $ s component
    
📖  Document: https://serverless.help/t/s/component

Options:
  -h, --help                      Display help for command.

操作案例

可以执行s component获取所有已经安装的组件信息,例如:

$ s component 

🔎 serverless registry [https://registry.serverless-devs.com] 
Component     Version           Size        Description 
fc            0.1.27            100 MB      阿里云函数计算基础组件 
devsapp/fc    0.1.27            100 MB      阿里云函数计算基础组件
fc api        0.0.44            100 MB      函数计算api操作组件