Skip to content

Commit cd8b473

Browse files
Copilotfrjcomp
andauthored
Refactor all provider command logic into pkg layer for testability with aligned cmd/pkg structure (#346)
* Refactor command logic to pkg --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: frjcomp <107982661+frjcomp@users.noreply.github.com>
1 parent 4f72cfc commit cd8b473

97 files changed

Lines changed: 3624 additions & 3899 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

src/pipeleak/cmd/bitbucket/bitbucket.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
package bitbucket
22

33
import (
4+
"github.com/CompassSecurity/pipeleak/cmd/bitbucket/scan"
45
"github.com/spf13/cobra"
56
)
67

@@ -11,7 +12,7 @@ func NewBitBucketRootCmd() *cobra.Command {
1112
GroupID: "BitBucket",
1213
}
1314

14-
bbCmd.AddCommand(NewScanCmd())
15+
bbCmd.AddCommand(scan.NewScanCmd())
1516

1617
return bbCmd
1718
}

src/pipeleak/cmd/bitbucket/internal/processor/pipeline.go

Lines changed: 0 additions & 72 deletions
This file was deleted.

src/pipeleak/cmd/bitbucket/internal/processor/processor_test.go

Lines changed: 0 additions & 247 deletions
This file was deleted.

0 commit comments

Comments
 (0)