Project Management

Project Management Functions

Project Authorization

datature projects auth

The datature projects auth function allows users to authenticate and authorize access to a project on the Datature platform. The tool prompts the user to enter the project secret, which is a unique identifier that is used to identify the project.

Once the user has entered the project secret, the tool prompts the user to select whether they want to set the authenticated project as their default project. If the user selects yes, the tool sets the authenticated project as the default project for future CLI commands.

Sample Output

$ datature projects auth

[?] Enter the project secret: ************************************************
[?] Make [New Test Project] the default project? (Y/n): y

Authentication succeeded.

Select Project

datature projects select

The datature projects select function allows users to select an active project from saved projects. The tool prompts the user to select a project from the list of available projects.

Once the user has selected a project, the tool sets the selected project as the default project for future CLI commands.

Sample Output

$ datature projects select

> My Cool Project
  New Test Project
   
Your active project is now: [Dicom]

List Projects

datature projects list

The datature projects list function allows users to view a list of their saved projects. The tool displays a table with columns containing the names of the projects, the total number of assets, the number of annotated assets, the number of annotations, and the number of tags for each project.

The tool also indicates which project is currently set as the default project for future CLI commands. The name of the active project is displayed at the bottom of the list.

Sample Output

$ datature projects list

NAME                TOTAL_ASSETS        ANNOTATED_ASSETS    ANNOTATIONS         TAGS
My Cool Project     4071                433                 1874                3
New Test Project    718                 53                  959                 4

Your active project is now: [My Cool Project]