Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Cmd = &cobra.Command{ Use: "apply", Short: "accept skeleton to project", Long: `accept skeleton to project files. Be careful, it would replace previous skeleton blocks.`, RunE: func(cmd *cobra.Command, args []string) error { factory := config.NewFactory() if factory == nil { return errors.New("error constructing config factory") } useCase := apply.NewApply(factory, readme.NewPlugin(afero.NewOsFs(), registry.BinaryTemplatesRegistry{})) err := useCase.Execute() if err != nil { return err } return nil }, }
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.