Skip to content

shorthand for "input" on cli not working #45

@nvcexploder

Description

@nvcexploder

Using just i on the shorthand hadn't been working on the CLI.

node ./src/ebird-ext/cli.js -i="./src/ebird-ext/MyEBirdData.csv" big-day
{ i: './src/ebird-ext/MyEBirdData.csv' } // the results of a console.log(opts) in biggestTime
undefined // results of console.log(input) in getData
TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be one of type string, Buffer, or URL. Received type undefined

Above, it shows 'i' as a key in the options, but that doesn't get translated into input. Using --input works fine.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions