Skip to content
This repository was archived by the owner on Sep 6, 2025. It is now read-only.

Commit e3febfb

Browse files
authored
Merge pull request #8 from hellofresh/improvements
Improvements
2 parents 23e3ac5 + dee3ecc commit e3febfb

File tree

16 files changed

+631
-308
lines changed

16 files changed

+631
-308
lines changed

Gopkg.lock

Lines changed: 130 additions & 33 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Gopkg.toml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,5 +37,13 @@
3737
revision = "f9879dd043f84936a1f8acb8a53b74332a7ae135"
3838

3939
[[constraint]]
40-
name = "github.com/fatih/color"
41-
version = "1.5.0"
40+
branch = "master"
41+
name = "github.com/hashicorp/go-multierror"
42+
43+
[[constraint]]
44+
branch = "master"
45+
name = "github.com/hashicorp/errwrap"
46+
47+
[[constraint]]
48+
name = "github.com/dghubble/sling"
49+
version = "1.1.0"

cmd/hiring.go

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,21 @@
11
package cmd
22

3-
import "github.com/spf13/cobra"
3+
import (
4+
"context"
5+
6+
"github.com/spf13/cobra"
7+
)
48

59
// NewHiringCmd aggregates the hiring comamnds
6-
func NewHiringCmd() *cobra.Command {
10+
func NewHiringCmd(ctx context.Context) *cobra.Command {
711
// Repo commands
812
cmd := &cobra.Command{
913
Use: "hiring",
1014
Short: "Github hiring tests repository management",
1115
}
1216

13-
cmd.AddCommand(NewHiringSendCmd())
14-
cmd.AddCommand(NewHiringUnseat())
17+
cmd.AddCommand(NewHiringSendCmd(ctx))
18+
cmd.AddCommand(NewHiringUnseat(ctx))
1519

1620
return cmd
1721
}

0 commit comments

Comments
 (0)