NewMergeCommand creates a new 'edit' command report
(reportLocation string, containerized bool)
| 396 | |
| 397 | // NewMergeCommand creates a new 'edit' command report |
| 398 | func NewMergeCommand(reportLocation string, containerized bool) *MergeCommand { |
| 399 | cmd := &MergeCommand{ |
| 400 | Command: Command{ |
| 401 | reportLocation: reportLocation, |
| 402 | Version: OVMergeCommand, //edit command 'results' version (report and artifacts) |
| 403 | Type: command.Merge, |
| 404 | State: command.StateUnknown, |
| 405 | }, |
| 406 | } |
| 407 | |
| 408 | cmd.Command.init(containerized) |
| 409 | return cmd |
| 410 | } |
| 411 | |
| 412 | // NewEditCommand creates a new 'edit' command report |
| 413 | func NewEditCommand(reportLocation string, containerized bool) *EditCommand { |