From c70413f94a0827e4c15d9636c138959c72984776 Mon Sep 17 00:00:00 2001 From: Alyssa Gorbaneva Date: Thu, 3 Jul 2025 09:58:12 -0700 Subject: [PATCH 1/3] auth login --- cmd/pipelines/auth.go | 10 ++++++++++ cmd/pipelines/pipelines.go | 1 + 2 files changed, 11 insertions(+) create mode 100644 cmd/pipelines/auth.go diff --git a/cmd/pipelines/auth.go b/cmd/pipelines/auth.go new file mode 100644 index 0000000000..f62adff34c --- /dev/null +++ b/cmd/pipelines/auth.go @@ -0,0 +1,10 @@ +package pipelines + +import ( + "github.com/databricks/cli/cmd/auth" + "github.com/spf13/cobra" +) + +func authCommand() *cobra.Command { + return auth.New() +} diff --git a/cmd/pipelines/pipelines.go b/cmd/pipelines/pipelines.go index 7a9d6c6a8b..61808cc60e 100644 --- a/cmd/pipelines/pipelines.go +++ b/cmd/pipelines/pipelines.go @@ -10,5 +10,6 @@ import ( func New(ctx context.Context) *cobra.Command { cli := root.New(ctx) cli.AddCommand(initCommand()) + cli.AddCommand(authCommand()) return cli } From fe80817f02fe548b45f7e24fa0f25a33cd96b4f4 Mon Sep 17 00:00:00 2001 From: Alyssa Gorbaneva Date: Thu, 3 Jul 2025 10:21:29 -0700 Subject: [PATCH 2/3] adding auth output --- acceptance/pipelines/install-pipelines-cli/output.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/acceptance/pipelines/install-pipelines-cli/output.txt b/acceptance/pipelines/install-pipelines-cli/output.txt index 3c109daa8c..fe1df4f5c3 100644 --- a/acceptance/pipelines/install-pipelines-cli/output.txt +++ b/acceptance/pipelines/install-pipelines-cli/output.txt @@ -10,6 +10,7 @@ Usage: pipelines [command] Available Commands: + auth Authentication related commands completion Generate the autocompletion script for the specified shell help Help about any command init Initialize a new pipelines project @@ -45,6 +46,7 @@ Usage: pipelines [command] Available Commands: + auth Authentication related commands completion Generate the autocompletion script for the specified shell help Help about any command init Initialize a new pipelines project From 6aab309060eb36d6c4c72814ce6abda1b7f9f060 Mon Sep 17 00:00:00 2001 From: Alyssa Gorbaneva Date: Fri, 4 Jul 2025 01:49:28 -0700 Subject: [PATCH 3/3] trigger GitHub actions