Skip to content

init help shows hidden compatibility flags #5286

@upadhyay192

Description

@upadhyay192

Describe the bug
supabase init --help in the legacy TS CLI shows compatibility flags that are hidden in the Go CLI:

  • --with-vscode-workspace
  • --with-vscode-settings
  • --with-intellij-settings

The flags still work for backwards compatibility, but they should not appear in help output.

To Reproduce
Run:

supabase init --help

Observe that the help output includes:

--with-vscode-workspace
--with-vscode-settings
--with-intellij-settings

Expected behavior
Those flags should remain accepted for compatibility, but they should be hidden from --help, matching the Go CLI behavior.

Additional context
The Go command marks these flags hidden in apps/cli-go/cmd/init.go, but the legacy TS shim currently exposes them as normal visible flags.

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions