MeltanoLabs / MeltanoLabs/tap-csv

unable to get the version when invoking in Meltano

Open
#24 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
10
Forks
19
Avg merge
30m
Merged PRs (30d)
2

Description

Hello,

I have installed the tap-csv using:
meltano add extractor tap-csv

It appears to successfully install. However when I use the command to invoke the tap and then pull the version, it's listed as an unrecognized argument:
meltano invoke tap-csv --version
tap-csv: error: unrecognized arguments: --version

I can still invoke and it gives me options, but none appear (at least from what I see here) to be able to provide this:

usage: tap-csv [-h] [-c CONFIG] [-s STATE] [-p PROPERTIES] [--catalog CATALOG] [-d]

optional arguments:
  -h, --help            show this help message and exit
  -c CONFIG, --config CONFIG
                        Config file
  -s STATE, --state STATE
                        State file
  -p PROPERTIES, --properties PROPERTIES
                        Property selections
  --catalog CATALOG     Catalog file
  -d, --discover        Do schema discovery

Is there a change here to be aware of? Thanks!

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing meltano invoke tap-csv --version and inspecting the tap-csv command entry point and its generated help output. Determine how version reporting is expected to work for this Singer tap; done means the invocation accepts --version and reports the installed tap version without breaking the existing options.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
cli, data-engineering
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.