Is there a way to get a list of available extracto...
# getting-started
m
Is there a way to get a list of available extractors from the command line? Searching the internet I found references to a
discover
command, which the newest Meltano seems not to have anymore.
r
Hi @Max! Yeah,
discover
used to do exactly that, but IIRC it got removed because no-one was really using it (or only using it to check Hub status, which is still possible via
hub ping
). What is your use-case? FWIW, there is this related GitHub issue: https://github.com/meltano/meltano/issues/7657
m
My use case is that it is hard to get a "list of things" (overview) from a web page. Scrolling a paginated web page sucks and I always have the feeling I overlooked one of those damn icons.
melanto discover extrators|grep -i jira
would have be the expected flow of work for me.
I just find it strange that a CLI centric tool removed this command.
But thanks for the answer. At least I dont have to search further. I thought the
discover
command was moved into an other commands (as option)
👍 1
r
Is this just a preferred way of working thing, or are you trying to use it in a script? I can't say I support the removal of functionality necessarily, but now I just use the Hub search in browser if I'm looking for a specific plugin.
I think
meltano hub get [extractors|loaders|...]
would be a nice API, if it were to be added back.
m
Just a preferred way of working. Or since I'm new to Meltano I assumed this can be done by CLI.
r
Fair enough, can't fault that. 😅
m
get
is misleading; I would rather suggest
meltano hub search [--extrators|--loaders]
could be a kind of fuzz search.
e
Hey, thanks for bringing up the subject! I'm all for improving the CLI experience for interacting with the Hub. I think the biggest blocker for this sort of thing is the fact that the Hub API is currently static so there's no way, for example, to POST a search request.
r
What about
meltano hub list [--extractors|--loaders|...]
, which you could then pipe to
grep
as in your above example?