Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Command = &cli.Command{ Name: "code", Flags: []cli.Flag{}, Action: func(c *cli.Context) (err error) { defer func() { if err != nil { err = cli.Exit(fmt.Errorf("while uploading Kartusche: %w", err), 1) } }() dir := c.Args().First() if dir == "" { dir = "." } serverBaseURL, err := serverurl.BaseServerURL(c.Args().First()) if err != nil { return err } err = UpdateServerCode(dir, serverBaseURL) fmt.Println("code updated") return nil }, }
Functions ¶
func UpdateServerCode ¶ added in v0.4.11
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.