Has anyone used the source argument for LAMS?
I’m trying to run LAMS with this source argument:
--source **/{first_view.lkml,manifest.lkml}
but it only reads the first file, not the second one.
And if I switch the order of the files like this:
--source **/{manifest.lkml,first_view.lkml}
, then it reads the manifest file but not the view file
Not sure why it’s not reading the files after the first one - is this a bug or am I doing something wrong here?
I think the current shell is parsing the arguments.
$ touch first_view.lkml manifest.lkml
$ echo --source **/{first_view.lkml,manifest.lkml}
--source first_view.lkml manifest.lkml
$ echo '--source **/{first_view.lkml,manifest.lkml}'
--source **/{first_view.lkml,manifest.lkml}
You should have LAMS parse it, not the current shell. If you enclose it in single quotes, it might work as expected.
--source '**/{first_view.lkml,manifest.lkml}'
I think the current shell is parsing the arguments.
$ touch first_view.lkml manifest.lkml
$ echo --source **/{first_view.lkml,manifest.lkml}
--source first_view.lkml manifest.lkml
$ echo '--source **/{first_view.lkml,manifest.lkml}'
--source **/{first_view.lkml,manifest.lkml}
You should have LAMS parse it, not the current shell. If you enclose it in single quotes, it might work as expected.
--source '**/{first_view.lkml,manifest.lkml}'
This works!
Thank you