-
Notifications
You must be signed in to change notification settings - Fork 74
Closed
Labels
documentationImprovements or additions to documentationImprovements or additions to documentationmock-apiRelates to the `mock-api` feature.Relates to the `mock-api` feature.
Description
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 run twitch 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
| err := generate.Generate(25) |
| err := generate.Generate(25) |
I'm guessing the 1 comes from the &count variable being referenced at
Line 103 in fca40a4
| generateCmd.Flags().IntVarP(&count, "count", "c", 10, "Defines the number of fake users to generate.") |
-c works fine.Metadata
Metadata
Assignees
Labels
documentationImprovements or additions to documentationImprovements or additions to documentationmock-apiRelates to the `mock-api` feature.Relates to the `mock-api` feature.