Skip to content

dstack export

The dstack export commands manage exports of resources to other projects.

dstack export list

The dstack export list command lists all exports in the project.

Usage
$ dstack export list --help
Usage: dstack export list [-h]

Options:
  -h, --help  show this help message and exit

dstack export create

The dstack export create command creates a new export.

Usage
$ dstack export create --help
Usage: dstack export create [-h] [--importer IMPORTERS] [--fleet FLEETS] name

Positional Arguments:
  name                  The name of the export

Options:
  -h, --help            show this help message and exit
  --importer IMPORTERS  Importer project name (can be specified multiple
                        times)
  --fleet FLEETS        Fleet name to export (can be specified multiple times)

dstack export update

The dstack export update command updates an existing export.

Usage
$ dstack export update --help
Usage: dstack export update [-h] [--add-importer ADD_IMPORTERS]
                            [--remove-importer REMOVE_IMPORTERS]
                            [--add-fleet ADD_FLEETS]
                            [--remove-fleet REMOVE_FLEETS]
                            name

Positional Arguments:
  name                  The name of the export

Options:
  -h, --help            show this help message and exit
  --add-importer ADD_IMPORTERS
                        Importer project name to add (can be specified
                        multiple times)
  --remove-importer REMOVE_IMPORTERS
                        Importer project name to remove (can be specified
                        multiple times)
  --add-fleet ADD_FLEETS
                        Fleet name to add (can be specified multiple times)
  --remove-fleet REMOVE_FLEETS
                        Fleet name to remove (can be specified multiple times)

dstack export delete

The dstack export delete command deletes the specified export.

Usage
$ dstack export delete --help
Usage: dstack export delete [-h] [-y] name

Positional Arguments:
  name        The name of the export

Options:
  -h, --help  show this help message and exit
  -y, --yes   Don't ask for confirmation