Closed Ekrekr closed 4 years ago
dataform help specifies syntax dataform run [project-dir].
dataform help
dataform run [project-dir]
To replicate issue, from this repo after configuration, run:
$ ./scripts/run run ../example-cli Dataform encountered an error: /Users/eli/Documents/dataform/dataform/.df-credentials.json does not exist!
(example-cli is not in the path).
example-cli
This happens because when the hardcoded CREDENTIALS_FILENAME defined in api/commands is used, the project-dir is not prepended.
CREDENTIALS_FILENAME
api/commands
Same for dataform test
dataform test
dataform help
specifies syntaxdataform run [project-dir]
.To replicate issue, from this repo after configuration, run:
(
example-cli
is not in the path).This happens because when the hardcoded
CREDENTIALS_FILENAME
defined inapi/commands
is used, the project-dir is not prepended.