The --duration option for coupons create was not working in non-interactive mode so I changed the array to the same format you had the other enums in -- %w( foo bar baz).