Docs for mock data generation give incorrect counts #196
Labels
documentation
Improvements or additions to documentation
mock-api
Relates to the `mock-api` feature.
The documentation at https://dev.twitch.tv/docs/cli/mock-api-command and https://github.com/twitchdev/twitch-cli/blob/main/docs/mock-api.md states that the
twitch mock-api generate
command will default to generate 10 users but it seems to default to 1. The first link also says that if you runtwitch mock-api start
without having generated any data it will generate the default 10, but it seems to generate 25 users.The 25 users seems to come from
twitch-cli/internal/mock_api/mock_server/server.go
Line 41 in fca40a4
twitch-cli/internal/events/mock_wss_server/server.go
Line 352 in fca40a4
I'm guessing the 1 comes from the &count variable being referenced at
twitch-cli/cmd/api.go
Line 103 in fca40a4
-c
works fine.The text was updated successfully, but these errors were encountered: