Component
Commands to create/delete/list components
create-component
Command to create compnent version.
--source must be a zip file path of the source
Createing public components is not yet supported
--type PUBLIC is not supported
The configuration file follows the following structre
Json file
Key | Required | Explaination |
---|---|---|
id | Required | component id ex) com.example.first |
version | Required | component version ex) 1.0.0 |
description | Required | component description ex) first application |
thumbnail | Optional | component thumbnail The thumbnail should be in the same location as the config file(--configuration-file) ex) icon.png |
script | Required | script to run the component ex) pip3 install -r requirements.txt;python3 main.py |
link | Optional | in the case of a web application, a link to access the application ex) http://127.0.0.1:3000 |
title | Requried | component title ex) My First App |
Command
Usage
Recommanded Component structure (example)
delete-component-version
Delete a specific version of a component.
Command
Usage
delete-component
Delete all versions of a component
Command
Usage
list-component-versions
Retrieves a list of versions of a component.
Command
Usage
list-components
Retrieves a list of CUSTOM or PUBLIC components.
Command
Usage
cast 1) list CUSTOM components
cast 2) list PUBLIC components
Last updated