()
| 62 | } |
| 63 | |
| 64 | func (cfg *ListConfig) fillDefaults() { |
| 65 | if cfg.MatchPath == "" { |
| 66 | cfg.MatchPath = ".*\\.log\\.gz" |
| 67 | } |
| 68 | |
| 69 | if cfg.Region == "" { |
| 70 | cfg.Region = "us-west-2" |
| 71 | } |
| 72 | |
| 73 | if len(cfg.Files) == 0 { |
| 74 | cfg.Files = []string{"-"} |
| 75 | } |
| 76 | } |
| 77 | |
| 78 | type List struct { |
| 79 | ci *inpututils.CompressedInput |