Catmandu
Catmandu copied to clipboard
Allow passing of primary options as arguments in command line
Why can't I just type
catmandu import JSON test.json to DBI dbi:SQLite:test.sqlite
The primary and most common option to Catmandu::Importer is file
and the primary, mandatory option to Catmandu::Store is data_source
, so the call above should be expanded to
catmandu import JSON --file test.json to DBI --data_source dbi:SQLite:test.sqlite
Typical usage should be simple and non-typical usage should be possible.