Conductor Documentation

sites

The cfy sites command is used to manage sites and their location in Conductor Manager.

Optional flags

cfy sites commands support the common CLI flags.

Commands

List

Usage

cfy sites list [OPTIONS]

List all sites

Optional flags

Example

$ cfy sites list
Listing all sites...

Sites:
+----------+------------------------+------------+----------------+--------------------------+------------+
|   name   |        location        | visibility |  tenant_name   |        created_at        | created_by |
+----------+------------------------+------------+----------------+--------------------------+------------+
| Chicago  | 41.8333925,-88.0121478 |   tenant   | default_tenant | 2019-05-19 12:00:20.843  |   admin    |
|  Miami   | 25.7823404,-80.3695441 |   tenant   | default_tenant | 2019-05-19 12:00:52.143  |   admin    |
| Tel-Aviv | 32.0879122,34.7272058  |   tenant   | default_tenant | 2019-05-19 12:00:12.073  |   admin    |
+----------+------------------------+------------+----------------+--------------------------+------------+

Showing 3 of 3 sites

Create

Usage

Usage: cfy sites create [OPTIONS] NAME

Create a new site

NAME is the new site’s name

Optional flags

Example

$ cfy sites create --location 32.0879122,34.7272058 --visibility global Tel-Aviv
...

Get

Usage

cfy sites get [OPTIONS] NAME

Get details for a single site

NAME is the site’s name

Optional flags

Example

$ cfy sites get Tel-Aviv
...

Delete

Usage

cfy site delete [OPTIONS] NAME

Delete a site

NAME is the site’s name

Optional flags

Example

$ cfy sites delete Tel-Aviv
...

Update

Usage

cfy sites update [OPTIONS] NAME

Update an existing site

NAME is the site’s name

Optional flags

Example

$ cfy sites update --location 32.0879122,34.7272058 --visibility global --new-name Tel-Aviv-Yafo Tel-Aviv
...