% GRID-LOCATION-LIST(1) Cargill, Incorporated | Grid Commands

NAME

grid-location-list — List all locations

SYNOPSIS

grid location list [FLAGS]

DESCRIPTION

List all locations in grid. If the service_id flag is specified, only locations corresponding to that service_id will be shown.

FLAGS

-h, --help
Prints help information
-q, --quiet
Do not display output
-V, --version
Prints version information
-v
Increases verbosity (the opposite of -q). Specify multiple times for more output

OPTIONS

--service-id
The ID of the service the payload should be sent to; required if running on Splinter. Format: <circuit-id>::<service-id>.
--url
URL for the REST API

EXAMPLES

The command

$ grid location list

Will list all locations and their properties

Location ID: 762111177704
Namespace: GS1
Owner: cgl
Properties:
    locationName: Grandma's basement
    locationDescription: My grandma's basement
    locationType: 3
    addressLine1: "612 Worf ave"
    city: St. Paul
    stateOrRegion: MN
    postalCode: "55117"
    country: United States
    latLong: "46729553,-94685898"
    contactName: Lorraine
    contactEmail: lorraine@fake-email.bike
    contactPhone: 612-555-1234
    contactDate: 01/15/2020
Location ID: 7798033330005
Namespace: GS1
Owner: cgl
Properties:
    locationName: Grandma's shack
    locationDescription: My grandma's old shack
    locationType: 2
    addressLine1: "615 Worf ave"
    city: St. Paul
    stateOrRegion: MN
    postalCode: "55117"
    country: United States
    latLong: "46729554,-94685899"
    contactName: Lorraine
    contactEmail: lorraine@fake-email.bike
    contactPhone: 612-555-1234
    contactDate: 01/15/2020

ENVIRONMENT VARIABLES

GRID_DAEMON_ENDPOINT
Specifies a default value for --url
GRID_SERVICE_ID
Specifies a default value for --service-id

SEE ALSO

| grid-location-create(1) | grid-location-update(1) | grid-location-delete(1) | grid-location-show(1) | grid-location-list(1) | | Grid documentation: https://grid.splinter.dev/docs/0.3/