GlobalNamesArchitecture / gnparser

Split scientific names to meaningful elements with meta information
https://parser.globalnames.org/
MIT License
20 stars 2 forks source link

Support STDIN for runner #346

Closed alexander-myltsev closed 7 years ago

alexander-myltsev commented 7 years ago

@dimus , how should it be in the end? gnparser --input - --output -?

dimus commented 7 years ago

The best way would be to have STDIN and STDOUT a default, and --input --output an option, like for example

cat file | gnparser > res

If opts parsing does not support it, then what you say would be OK too

alexander-myltsev commented 7 years ago

@dimus Looking and your command name, I suppose it is more natural to call command gnparser instead of gnparse. What do you think?

dimus commented 7 years ago

+1 for gnparser instead of gnparse