Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: common CLI commands are missing from --help output #29276

Open
glenjamin opened this issue Oct 4, 2024 · 1 comment
Open

[Bug]: common CLI commands are missing from --help output #29276

glenjamin opened this issue Oct 4, 2024 · 1 comment

Comments

@glenjamin
Copy link
Contributor

Describe the bug

The dev, build and init commands (at least) are missing from --help output.

> ./node_modules/.bin/storybook -V
8.3.3
> ./node_modules/.bin/storybook --help
Usage: cli <command> [options]

Options:
  -V, --version                           output the version number
  -h, --help                              display help for command

Commands:
  add [options] <addon>                   Add an addon to your Storybook
  remove [options] <addon>                Remove an addon from your Storybook
  upgrade [options]                       Upgrade your Storybook packages to v8.3.3
  info [options]                          Prints debugging information about the local environment
  migrate [options] [migration]           Run a Storybook codemod migration on your source files
  sandbox|repro [options] [filterValue]   Create a sandbox from a set of possible templates
  link [options] <repo-url-or-directory>  Pull down a repro from a URL (or a local directory), link it, and run storybook
  automigrate [options] [fixId]           Check storybook for incompatibilities or migrations and apply fixes
  doctor [options]                        Check Storybook for known problems and provide suggestions or fixes
  help [command]                          display help for command

Reproduction link

storybook --help

Reproduction steps

  1. Run storybook --help

System

> npx storybook info

Storybook Environment Info:

  System:
    OS: macOS 14.6.1
    CPU: (8) x64 Intel(R) Core(TM) i7-1068NG7 CPU @ 2.30GHz
    Shell: 5.1.8 - /usr/local/bin/bash
  Binaries:
    Node: 20.11.1 - ~/.asdf/installs/nodejs/20.11.1/bin/node
    npm: 10.2.4 - ~/.asdf/plugins/nodejs/shims/npm <----- active
  Browsers:
    Chrome: 129.0.6668.90
    Edge: 129.0.2792.79
    Safari: 17.6
  npmPackages:
    @storybook/addon-actions: ^8.3.3 => 8.3.3
    @storybook/addon-controls: ^8.3.3 => 8.3.3
    @storybook/addon-docs: ^8.3.3 => 8.3.3
    @storybook/addon-essentials: ^8.3.3 => 8.3.3
    @storybook/addon-interactions: ^8.3.3 => 8.3.3
    @storybook/addon-links: ^8.3.3 => 8.3.3
    @storybook/addon-onboarding: ^8.3.3 => 8.3.3
    @storybook/addon-webpack5-compiler-swc: ^1.0.5 => 1.0.5
    @storybook/blocks: ^8.3.3 => 8.3.3
    @storybook/preview-api: ^8.3.3 => 8.3.3
    @storybook/react: ^8.3.3 => 8.3.3
    @storybook/react-webpack5: ^8.3.3 => 8.3.3
    @storybook/test: ^8.3.3 => 8.3.3
    @storybook/test-runner: ^0.19.1 => 0.19.1
    chromatic: ^11.0.0 => 11.10.4
    eslint-plugin-storybook: ^0.8.0 => 0.8.0
    storybook: ^8.3.3 => 8.3.3
    storybook-addon-apollo-client: ^7.3.0 => 7.3.0

Additional context

No response

@toothlessdev
Copy link
Contributor

Can I work on this issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants