This angular schematics generate an storybook file. Following the next folder structure.
src/ project source code
|- app/ app components
| |- button/ button component example
| |- button.component.*
| |- button.stories.ts <-- story generated
| +- ...
npm install --save-dev ng-stories-schematics
ng g ng-stories-schematics:empty path/name
ng g ng-stories-schematics:empty --path path_to_file --name file_name
If you use vscode I recommend to use vscode-angular-schematics to easily create stories file.
Add to settings.json config file this.
"ngschematics.schematics": [
"ng-stories-schematics"
],