File tree Expand file tree Collapse file tree 4 files changed +388
-339
lines changed
Expand file tree Collapse file tree 4 files changed +388
-339
lines changed Original file line number Diff line number Diff line change @@ -60,16 +60,16 @@ File Saving: The generated LookML view files are saved to the specified target d
6060
6161Generating the LookML Views using multiple tags. This will generate only the views for the models that match the tags.
6262
63- ``` bash
6463# Generate LookML views from a single file
65- df2looker --source-path my_dataform_project/dataform-compile.json --target-dir my_looker_project/views --tags tag_1 tag_2
64+ ``` bash
65+ df2looker --source-file-path my_dataform_project/dataform-compile.json --target-dir my_looker_project/views --tags tag_1 tag_2
6666```
6767
6868Run Dataform2Looker in verbose mode
6969
70- ``` bash
7170# Generate LookML views from a single file
72- df2looker --source-path my_dataform_project/dataform-compile.json --verbose
71+ ``` bash
72+ df2looker --source-file-path my_dataform_project/dataform-compile.json --verbose
7373```
7474
7575## Notes
Original file line number Diff line number Diff line change @@ -45,7 +45,7 @@ def main(argv: Sequence[str] | None = None) -> int:
4545 )
4646
4747 parser .add_argument (
48- "--source-file" ,
48+ "--source-file-path " ,
4949 type = Path ,
5050 help = "Path to the views file or directory containing views." ,
5151 )
@@ -64,7 +64,7 @@ def main(argv: Sequence[str] | None = None) -> int:
6464 parser .add_argument (
6565 "--tags" ,
6666 help = "Filter to dataform models using this tag" ,
67- default = None ,
67+ default = [] ,
6868 type = str ,
6969 nargs = "+" ,
7070 required = False ,
You can’t perform that action at this time.
0 commit comments