moby/cli
Yong Tang 0ad02c6108 Add .CreatedAt placeholder for docker network ls --format
This fix tries to add a placeholder `.CreatedAt` for Go
format template in `docker network ls --format`.

While working on 29226, I noticed that it is not possible to
display network's creation time in `docker network ls`, with or
without `--format`.

We are able to find the timestamp through `docker network inspect` though.

However, as we allows networks to be pruned based on the timestamp
(see 29226), showing the timestamp in `docker network ls --format`
would be much useful now.

This fix adds the `.CreatedAt` placeholder for `docker network ls --format`.
The default output was not changed for `docker network ls --format`.

A test case for unit tests has been added.

Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
2017-01-04 15:18:44 -08:00
..
command Add .CreatedAt placeholder for docker network ls --format 2017-01-04 15:18:44 -08:00
compose Replace vendor of aanand/compose-file with a local copy. 2016-12-27 16:17:24 -05:00
config Move package cliconfig to cli/config 2016-12-25 20:31:52 +01:00
debug Move debug functions to cli/debug package 2016-12-12 09:33:58 +01:00
flags Trim quotes from TLS flags. 2017-01-03 15:58:41 -05:00
trust Merge pull request #29313 from vdemeester/move-cli-config 2016-12-28 09:05:51 -08:00
cobra.go exit with status 1 if help is called on an invalid command. 2016-11-23 15:13:58 -05:00
error.go Remove old cli framework. 2016-08-25 13:09:04 -04:00
required.go fix typos 2016-07-05 20:42:17 +08:00