(flags *AllowFlags, dependencies *cmd.Dependencies)
| 43 | } |
| 44 | |
| 45 | func NewAllowOptions(flags *AllowFlags, dependencies *cmd.Dependencies) *AllowOptions { |
| 46 | return &AllowOptions{ |
| 47 | AllowFlags: flags, |
| 48 | Dependencies: dependencies, |
| 49 | } |
| 50 | } |
| 51 | |
| 52 | func NewCmdAllow(f factory.Factory) *cobra.Command { |
| 53 | allowFlags := NewAllowFlags() |