auth team
Set the default team for Studio operations.
Synopsis
Description
This command sets or shows the default team for Studio operations. By default, the team setting is saved globally, but you can use the --local option to set it for the current project. Commands then use your token for that team.
If team_name is not passed, the current team in use is shown to the user.
An empty name ("") turns the default team off: commands then need --team or DATACHAIN_STUDIO_TEAM, and datachain auth login --team does not set a default team. In a project, --local "" turns off your global default team for that project. To let logins set a default team again, delete team from the [studio] section of the config file.
Arguments
team_name- Optional, name of the team to set as default, or""to turn the default team off.
Options
--local- Set team locally for the current project-h,--help- Show the help message and exit.-v,--verbose- Be verbose.-q,--quiet- Be quiet.
Examples
-
Set default team for all projects:
-
Set default team locally for the current project:
-
Print the current default in use
-
Turn off the default team, so every command names its team: