CLI: Support metadata listing in "list" command.
CLI: Support metadata in "add" command.