add --key option, for getting metadata values from shell scripts