Use cobra for build --full

This commit is contained in:
Ettore Di Giacinto
2020-06-06 11:20:48 +02:00
parent 8aafc7600c
commit 03cc5fcb76

View File

@@ -78,7 +78,7 @@ var buildCmd = &cobra.Command{
nodeps := viper.GetBool("nodeps")
onlydeps := viper.GetBool("onlydeps")
keepExportedImages := viper.GetBool("keep-exported-images")
full := viper.GetBool("full")
full, _ := cmd.Flags().GetBool("full")
compilerSpecs := compiler.NewLuetCompilationspecs()
var compilerBackend compiler.CompilerBackend