Does anyone have a good documented example configu...
# plugins-general
a
Does anyone have a good documented example configuring
tap-spreadsheets-anywhere
from meltano? Looks like it would be something along the lines of..
Copy code
meltano config tap-spreadsheets-anywhere set tables [ lots of json ?? ]
(Or is it easier to just edit the meltano.yml config directly?)
d
@andrew_stewart Since you're dealing with an array rather than simple (nested) key/value pairs, it's definitely going to be easiest to just modify
meltano.yml
directly, by adding
tables
under
config
as in https://github.com/ets/tap-spreadsheets-anywhere#configuration.
a
Yup. What I ended up doing was running the CLI just to build the skeleton in meltano.yml (yes I could copy+paste but wanted to see how
meltano config
works)
d
@andrew_stewart Makes sense! We don't have a comprehensive
meltano.yml
reference yet (see https://gitlab.com/meltano/meltano/-/issues/2178), but the
config
bit is documented here: https://meltano.com/docs/project.html#plugin-configuration
a
Yeah I actually found the
meltano config
cli documentation to be fairly useful for that purpose (in a sort of roundabout way)
Possible feature request idea:
meltano config [plugin] init
- initializes blank config skeleton in
meltano.yml
(useful for complex nested configs)
(Assuming that info is somehow known from the plugin discovery functionality I guess?)
d
@andrew_stewart I like it! Can you create an issue (https://gitlab.com/meltano/meltano/-/issues/new) laying out expected behavior etc?
a
I absolutely can
A similar variation on this theme could be something like:
Copy code
meltano config <plugin> set <name>.<child>.<child> <value>
Though that might get too complicated.
d
a
I gotta learn to scroll
d
@andrew_stewart I gotta add some more ToCs to pages and sections with lots of subheadings!