Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var InitCommand = &command.Command{ Cmd: &cobra.Command{ Use: "init", Short: "Initialize a new configuration", Example: "flow project init", }, Flags: &initFlag, Run: func( cmd *cobra.Command, args []string, globalFlags command.GlobalFlags, services *services.Services, ) (command.Result, error) { fmt.Println("⚠️ DEPRECATION WARNING: use \"flow init\" instead") proj, err := services.Project.Init( initFlag.Reset, initFlag.Global, initFlag.ServiceKeySigAlgo, initFlag.ServiceKeyHashAlgo, initFlag.ServicePrivateKey, ) if err != nil { return nil, err } return &config.InitResult{Project: proj}, nil }, }
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.