Skip to content

Latest commit

 

History

History
63 lines (56 loc) · 1.49 KB

update-platform.md

File metadata and controls

63 lines (56 loc) · 1.49 KB

smctl update-platform

Overview

smctl update-platform updates a platform with the provided name in the Service Manager instance.

Usage

smctl update-platform [name] <json_platform> [flags]

Aliases

update-platform, up 

Flags

help

--help (alias: -h)

Help for update-platform command.

output format

--output (alias: -o)

Output format of the command. Possible opitons: json, yaml, text

Global Flags

config

--config

Set the path for the smctl config.json file (default is $HOME/.sm/config.json)

verbose

--verbose (alias: -v)

Use verbose mode.

Example

> smctl update-platform sample-platform '{"description": "Sample platform instance"}' 

ID                                    Name             Type    Description               Created               Updated               
------------------------------------  ---------------  ------  ------------------------  --------------------  --------------------  
6352fca0-c252-43ab-9cb3-d23613749b59  sample-platform  sample  Sample platform instance  2018-07-18T07:06:40Z  2018-07-18T07:09:48Z