public, private, or workspace. The change takes effect immediately on the server without a deploy step.
You can also set visibility in your config.jsonc to have it applied automatically every time you run deploy.
Usage
Arguments
Visibility levels
See also
deploy: Deploy all project resources, including visibility when set inconfig.jsonc- Project structure: Set
visibilityinconfig.jsoncto apply it on every deploy