Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AssetsCmd ¶
type AssetsCmd struct {
Build BuildCmd `cmd:"" help:"Run configured build scripts"`
}
type BuildCmd ¶
type BuildCmd struct {
Source string `help:"Directory the bundler writes output to." default:"app/frontend/builds"`
Output string `help:"Digested asset output directory." default:"public/assets"`
Prefix string `help:"URL prefix used when rewriting asset references." default:"/assets"`
Dir string `help:"Working directory containing package.json." default:"."`
Scripts []string `help:"package.json scripts to run before fingerprinting." default:"build"`
}
type CLI ¶
type CLI struct {
Migrate MigrateCmd `cmd:"" help:"Manage DB migrations."`
}
type CreateCmd ¶
type CreateCmd struct {
Name string `arg:"" help:"Name of the new migration, e.g. create_widgets"`
}
type ImportmapCmd ¶
type MigrateCmd ¶
type PinCmd ¶
Click to show internal directories.
Click to hide internal directories.