uffizzi preview
¶
Usage¶
Description¶
Manage Uffizzi previews
Child commands¶
Command | Description |
---|---|
uffizzi preview create | Create a preview |
uffizzi preview delete | Delete a preview |
uffizzi preview describe | Display details of a preview |
uffizzi preview list | list all previews |
uffizzi preview create
¶
Usage¶
Description¶
Creates a new preview. If no COMPOSE_FILE
is specified, the preview is created with the project´s default compose file. This command can fail for the following reasons:
- The project does not have a default compose file set. Run
$ uffizzi compose --help
for details. - The alternate compose file is invalid.
Positional arguments¶
[COMPOSE_FILE]
- An alternate compose file to the default compose.
You can pass a compose file to this command to create an ad hoc preview of an alternate compose configuration. The file passed via this argument does not replace the default compose file for the project. Alternate compose files share the same lifecyle as the previews they create: when the preview is deleted, the alternate compose is deleted by the Uffizzi API.
Uffizzi wide flags¶
The flag --project
is available to all commands. Run $ uffizzi help
for details.
Examples¶
To create a preview with the project´s default compose file, run:
To create a preview with an alternate compose file, run:
uffizzi preview delete
¶
Usage¶
Description¶
Deletes a preview with the given preview ID. This command can fail for the following reasons:
- The preview specified does not exist.
- The preview specified belongs to a different project.
Positional arguments¶
[PREVIEW_ID]
- ID for the preview you want to delete.
Uffizzi wide flags¶
The flag --project
is available to all commands. Run $ uffizzi help
for details.
Examples¶
The following command deletes the preview with ID deployment-213
:
uffizzi preview describe
¶
Usage¶
Description¶
Shows metadata for a project given a valid preview ID. This command can fail for the following reasons:
- The preview specified does not exist.
- The preview specified belongs to a different project.
Positional arguments¶
[PREVIEW_ID]
- ID for the preview you want to describe.
Uffizzi wide flags¶
The flag --project
is available to all commands. Run $ uffizzi help
for details.
Examples¶
To list all previews in the default project, run:
To list all previews in a project with name my_project
, run:
uffizzi preview list
¶
Usage¶
Description¶
Lists all previews for a project, including active
, building
, deploying
and failed
previews.
Uffizzi wide flags¶
The flag --project
is available to all commands. Run $ uffizzi help
for details.
Examples¶
To list all previews in the default project, run:
To list all previews in a project with name my_project
, run: