You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-`-P, --project-id string` - Required when you have access to multiple projects
134
149
135
-
### scope project
150
+
### project scope
136
151
137
-
Sets the default project for commands that require a project ID.
152
+
Sets or clears the default project scope for commands that require a project ID.
138
153
139
154
```sh
140
-
zcli scope project [project-id]
155
+
zcli project scope [project-id] [flags]
141
156
```
142
157
158
+
**Flags:**
159
+
-`--clear` - Clear project scope
160
+
-`-P, --project-id string` - Required when you have access to multiple projects
161
+
143
162
:::tip
144
-
Instead of using the `scope project` command, you can also set a default project ID in a `.zcli.yml` file or via the `ZEROPS_PROJECTID` environment variable. See the [Configuration](/references/cli/configuration) page for details.
163
+
Instead of using the `project scope` command, you can also set a default project ID in a `.zcli.yml` file or via the `ZEROPS_PROJECTID` environment variable. See the [Configuration](/references/cli/configuration) page for details.
0 commit comments