(dockerCLI command.Cli)
| 79 | } |
| 80 | |
| 81 | func newListCommand(dockerCLI command.Cli) *cobra.Command { |
| 82 | cmd := *newImagesCommand(dockerCLI) |
| 83 | cmd.Aliases = []string{"list"} |
| 84 | cmd.Use = "ls [OPTIONS] [REPOSITORY[:TAG]]" |
| 85 | return &cmd |
| 86 | } |
| 87 | |
| 88 | func runImages(ctx context.Context, dockerCLI command.Cli, options imagesOptions) (int, error) { |
| 89 | filters := options.filter.Value() |
searching dependent graphs…