Global InfraGlobal Infra Cloud
bookstore

store

CLI reference for store (bookstore).

gi bookstore store

Subcommands

CommandDescription
gi bookstore store get <id>Get a store.
gi bookstore store listList stores.
gi bookstore store createCreate a new store.
gi bookstore store update <id>Update a store.
gi bookstore store delete <id>Delete a store.
gi bookstore store rotate_digicode <id>Rotates the store’s digicode to a new random 4-digit code.

Flags

list flags

FlagAliasDescription
--filter-fFilter assets (e.g. attributes.name=my-asset)

create flags

FlagAliasDescription
--file—Path to a YAML or JSON file describing the asset

update flags

FlagAliasDescription
--file—Path to a YAML or JSON file with updated attributes

Examples

# List all
gi bookstore store list

# Get by id
gi bookstore store get <id>

# Filter by attribute
gi bookstore store list -f attributes.location=my-value

# Create from file
gi bookstore store create --file asset.yaml

# Update
gi bookstore store update <id> --file asset.yaml

# Delete
gi bookstore store delete <id>

# Rotate_digicode
gi bookstore store rotate_digicode <id>

Usage Notes

On this page