datahubio / datahub-v2-pm

Project management (issues only)
8 stars 2 forks source link

Error when using CLI (onboarding UX) #66

Closed pwalsh closed 6 years ago

pwalsh commented 6 years ago

Steps to reproduce

npm install data hub-cli

data --version

data info
> Error! ENOENT: no such file or directory, open '/Users/pwalsh/datapackage.json'

Context

When following the instructions at https://datahub.io/docs/getting-started/installing-data I consciously decided to run data info instead of data info https://datahub.io/core/finance-vix.

As a user of many CLI tools, I expect to be able to run a command without arguments and get some type of context-driven help, or, at least an error for the missing argument.

The error I do receive is related to a missing configuration step, I suspect, and this is confusing to me, especially because the instructions on this page make no mention of configuration.

I then went to http://datahub.io/docs/features/data-cli which is linked from the above page, and still do not have any idea how to configure the CLI. data help works, but has no info I am looking for.

I then ran data push which tells me to log in. This was successful (according to CLI messaging), but then I ran data info again and got the same original error.

pwalsh commented 6 years ago

Moved to https://github.com/datahubio/qa/issues/20