oclif/cli-ux

Spinner examples are incorrect

Closed this issue · 3 comments

The examples for the spinner do not match the types. In the root README.md, there is the following example:

cli.action.start('starting a process', {stdout: true})

The second parameter is supposedly status, which is a string. It doesn't seem to be documented.

Correct, the README should state:

cli.action.start('starting a process', null, {stdout: true})

Thanks! Fixed in 854416b.

Thanks @RasPhilCo