# Display available stories in storybook CLI \(\#3021\) · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/ad62a966a65dc506d90c5db80d231e869bb0077b)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: ad62a966a65dc506d90c5db80d231e869bb0077b

Requested commit: ad62a966a65dc506d90c5db80d231e869bb0077b

Commit: ad62a966a65dc506d90c5db80d231e869bb0077b

Tree: 67bcd9e4296a6998cd4b2f3b94344e06557284f8

Author: Marshall Bowers

Committer: GitHub

## Message

```
Display available stories in storybook CLI (#3021)

This PR updates the storybook CLI to support displaying all of the
available stories.

The `--help` flag will now show a list of all the available stories:

<img width="1435" alt="Screenshot 2023-09-22 at 6 11 00 PM"
src="https://github.com/zed-industries/zed/assets/1486634/284e1a24-46ec-462e-9709-0f9b6e94931f">

Inputting an invalid story name will also show the list of available
stories:

<img width="1435" alt="Screenshot 2023-09-22 at 6 10 43 PM"
src="https://github.com/zed-industries/zed/assets/1486634/1ce3ae3f-ab03-4976-a06a-5a2b5f61eae3">

Release Notes:

- N/A
```

## Parents

- [fe4248cf342ea00942e9048dbd8ed2c544dd9cdd](https://git.cafe/gitcafe/zed/commit/fe4248cf342ea00942e9048dbd8ed2c544dd9cdd?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/ad62a966a65dc506d90c5db80d231e869bb0077b?format=markdown)
