Skip to content

Projects Commands

The ml projects command group provides facilities for managing projects.

The following commands can be used together with ml projects:

alerts

Provides subscribe and unsubscribe facilities for alerts.

The following commands can be used together with ml projects alerts:

subscribe

Subscribes the user for alerts in the specified project.

The following flags are available with the ml projects alerts subscribe command:

  • --project, -p INTEGER

    Project Id.

    Use ml projects list to find your project Ids.

  • --alert-type, -a [all | started | stopped | ended | failed | data-warning]

    Alert type for project subscription.

unsubscribe

Unsubscribes the user for alerts in the specified project.

The following flags are available with the ml projects alerts subscribe command:

  • --project, -p INTEGER

    Project Id.

    Use ml projects list to find your project Ids.

  • --alert-type, -a [all | started | stopped | ended | failed | data-warning]

    Alert type for project subscription.

list

Lists the alerts for which the user is subscribed.

See also

ml projects list for finding your project Ids.


create

Creates a project and attaches it to the specified organization.

The following flags are available with the ml projects create command:

  • --display-name TEXT

    Name to show in the display.

  • --description TEXT

    More detailed description of the project.

  • --org TEXT

    Organization to use.

Example

ml projects create --display-name myProjectDisplayName \
    --description myProjectDescription (optional) 

list

Lists the projects that are associated with the current user.

For each project, the return values are: project_id, display_name, description, project_token, organization.


transfer

Moves the specified project from one organization to another.

Note

To perform this action, both organizations must be accessible to the user.

The following flags are available with the ml projects transfer command:

  • --project, -p INTEGER

    Project Id

    Use ml projects list to find your project Ids.

  • --transfer-to TEXT

    Organization to transfer to.

Example

ml projects transfer --transfer-to transferOrgName