loa assets create
loa assets create
Create a new asset from a file
Usage
loa assets create [<assetReference>] [--asset <asset>] [--version <version>] --file <file> [--type <type>] --visibility <visibility> [--license <license>] --org <org> --project <project> [--description <description>] [--metadata <metadata>]
| Argument | Type | Required | Description |
|---|---|---|---|
assetReference | string | No | Asset name with optional @version |
| Flag | Type | Required | Description |
|---|---|---|---|
--asset | string | No | Bare asset name (alternative to positional reference) |
--version | string | No | Exact major.minor.patch version |
--file | string | Yes | Path to file to upload; Aliases: f |
--type | string | No | Asset type (inferred from file extension when omitted; .ies creates LIGHT); Choices: MODEL, MATERIAL, IMAGE, SCENE, ENVMAP, CAD, LIGHT |
--visibility | string | Yes | Asset visibility; Choices: PRIVATE, UNLISTED, PUBLIC |
--license | string | No | Share license; Choices: NONE, CC_0, CC_BY, CC_BY_SA, CC_BY_NC, CC_BY_NC_SA, CC_BY_ND, CC_BY_NC_ND |
--org | string | Yes | Organization name |
--project | string | Yes | Project name |
--description | string | No | Description |
--metadata | string | No | Metadata as a string (max 10240 characters) |