ericcornelissen/wordrow

Many-to-one syntax not supported from CLI

Closed this issue · 0 comments

Bug Report

  • wordrow version: v0.5.0-beta
  • Operating system: Ubuntu 19.04

Description

The "Many-to-one" mapping style is currently not supported by CLI-specified mappings.

Actual Behaviour

Providing more than 2 values in a CLI-specified mapping results in an error.

Expected Behaviour

Providing more than 2 values in a CLI-specified mapping is handled the exact same way as a row in a CSV value with more than 2 values would.

Working Example

Run wordrow --map a,b,c input.txt.

Log Output

$ wordrow --map a,b,c input.txt
[Error] Invalid CLI defined mapping 'a,b,c'