mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2025-12-31 17:30:29 -06:00
15 lines
249 B
Go
15 lines
249 B
Go
package command
|
|
|
|
import "github.com/urfave/cli/v2"
|
|
|
|
func handleOriginalAction(c *cli.Context, cmd *cli.Command) error {
|
|
|
|
if cmd.Before != nil {
|
|
if err := cmd.Before(c); err != nil {
|
|
return err
|
|
}
|
|
}
|
|
|
|
return cli.HandleAction(cmd.Action, c)
|
|
}
|