mirror of
https://github.com/0rangebananaspy/authelia.git
synced 2024-09-14 22:47:21 +07:00
19 lines
301 B
Go
19 lines
301 B
Go
|
package main
|
||
|
|
||
|
import (
|
||
|
"fmt"
|
||
|
"os"
|
||
|
|
||
|
"github.com/spf13/cobra"
|
||
|
)
|
||
|
|
||
|
// Clean artifacts built and installed by authelia-scripts
|
||
|
func Clean(cobraCmd *cobra.Command, args []string) {
|
||
|
fmt.Println("Removing `" + OutputDir + "` directory")
|
||
|
err := os.RemoveAll(OutputDir)
|
||
|
|
||
|
if err != nil {
|
||
|
panic(err)
|
||
|
}
|
||
|
}
|