Hi guys (new to Kedro), am I right to assume that...
# questions
j
Hi guys (new to Kedro), am I right to assume that the command
kedro pipeline create
from the docs is outdated?
d
Sorry, what do you mean by outdated? It's not, to the best of my knowledge, but if you find something where the docs seem incorrect, please do elaborate.
j
Nevermind, the issue was that I was not calling it from the root directory of the project, the error that one gets is a bit counterintuitive
Error: No such command 'pipeline'.
d
Ah; yeah, it's because there is a set of commands such as
pipeline
that are only available in the context of a project, while there are other commands (e.g.
new
) that can be run from anywhere. Wonder if we can catch some of these project commands being called from outside of a project context and provide better error messages. In any case, glad you figured it out!
j
That would be great, thanks!
d
I wrote something that would do this nicely a long time ago, never had a chance to contribute it back https://github.com/datajoely/kedro-rich/blob/bc0313f0bd909a52abbcd730a4995d211082dded/kedro_rich/utilities/kedro_override_utils.py#L164
❤️ 1
j
thanks for bringing this up @Joshua Beirer, here's the issue https://github.com/kedro-org/kedro/issues/1831
❤️ 1