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
lakebox: integrate as a 'databricks lakebox' subcommand
Wire the cmd/lakebox tree from #4930 into the main CLI:
- cmd/cmd.go registers lakebox.New() under the 'development' command
group alongside bundle and sync.
- cmd/fuzz_panic_test.go adds 'lakebox' to manualRoots so TestCountFuzz
doesn't fuzz hand-written commands as if they were auto-generated.
- cmd/lakebox tree: the original PR's standalone-CLI scaffolding is
adapted for subcommand use — drop the auth-login hijacking and its
helper exports, drop the 'last_profile' state field that only mattered
when lakebox owned the whole CLI, switch PreRunE to root.MustWorkspaceClient
directly, and update help text from 'lakebox foo' to
'databricks lakebox foo' throughout.
Also conforms cmd/lakebox to project lint rules: env.UserHomeDir(ctx)
in place of os.UserHomeDir, errors.Is(err, fs.ErrNotExist) instead of
os.IsNotExist, atomic.Bool over sync.Once in the spinner gate, errors.New
for static error strings.
Co-authored-by: Isaac
0 commit comments