- I wrote a scripts to copy and generate all commands missing in iris from fig repo: https://github.com/withfig/autocomplete - Add a new script to generate commands docs about which commands currently are inside commands folder 377d4aac663590e504fe39a92eb4dac4cbd333b2 - Add more icons e64d4e70a1db61e62053460a882e093bd6373ab1
31 lines
1.4 KiB
Go
31 lines
1.4 KiB
Go
package js
|
|
|
|
import (
|
|
"github.com/versenilvis/iris/commands/core"
|
|
)
|
|
|
|
func init() {
|
|
core.Register(&core.Spec{
|
|
Name: "start-storybook",
|
|
Description: "Display usage information",
|
|
Options: []core.Option{
|
|
{Name: "--help", Description: "Display usage information"},
|
|
{Name: "-V", Description: "Display the version number"},
|
|
{Name: "-s", Description: "Directory where to load static files from, comma-separated list"},
|
|
{Name: "-c", Description: "Directory where to load Storybook configurations from"},
|
|
{Name: "--https", Description: "Provide an SSL certificate. (Required with --https)"},
|
|
{Name: "--ssl-key", Description: "Provide an SSL key. (Required with --https)"},
|
|
{Name: "--smoke-test", Description: "Exit after successful start"},
|
|
{Name: "--ci", Description: "CI mode (skip interactive prompts, don't open browser)"},
|
|
{Name: "--quiet", Description: "Suppress verbose build output"},
|
|
{Name: "--no-dll", Description: "Do not use dll reference (no-op)"},
|
|
{Name: "--debug-webpack", Description: "Display final webpack configurations for debugging purposes"},
|
|
{Name: "--webpack-stats-json", Description: "Write Webpack Stats JSON to disk"},
|
|
{Name: "--docs", Description: "Starts Storybook in documentation mode"},
|
|
{Name: "--no-manager-cache", Description: "Storybook start CLI tools"},
|
|
{Name: "-p", Description: "Port to run Storybook"},
|
|
{Name: "-h", Description: "Host to run Storybook"},
|
|
},
|
|
})
|
|
}
|