(f factory.Factory, cmd *cobra.Command)
| 37 | } |
| 38 | |
| 39 | func NewSystemDependencies(f factory.Factory, cmd *cobra.Command) *Dependencies { |
| 40 | client, err := f.GetSystemClient(apiclient.NewRequester(cmd)) |
| 41 | if err != nil { |
| 42 | panic(err) |
| 43 | } |
| 44 | return newDependencies(f, cmd, client) |
| 45 | } |
| 46 | |
| 47 | func newDependencies(f factory.Factory, cmd *cobra.Command, client *client.Client) *Dependencies { |
| 48 | return &Dependencies{ |
no test coverage detected