ErrCoreConfig// Represents an error in the cli core config, for example some basic files shipped with the installation are missing, or cannot create or get basic folder vital for the CLI to work.
// ErrCoreConfig represents an error in the cli core config, for example some basic
// files shipped with the installation are missing, or cannot create or get basic
command.Flags().BoolVar(&flags.showProperties,"show-properties",false,"Show all build properties used instead of compiling.")
command.Flags().BoolVar(&flags.preprocess,"preprocess",false,"Print preprocessed code to stdout instead of compiling.")
command.Flags().StringVar(&flags.buildCachePath,"build-cache-path","","Builds of 'core.a' are saved into this folder to be cached and reused.")
command.Flags().StringVar(&flags.buildPath,"build-path","","Folder where to save compiled files. If omitted, a folder will be created in the temporary folder specified by your OS.")
command.Flags().StringVar(&flags.buildCachePath,"build-cache-path","","Builds of 'core.a' are saved into this path to be cached and reused.")
command.Flags().StringVar(&flags.buildPath,"build-path","","Path where to save compiled files. If omitted, a directory will be created in the default temporary path of your OS.")
command.Flags().StringSliceVar(&flags.buildProperties,"build-properties",[]string{},"List of custom build properties separated by commas. Or can be used multiple times for multiple properties.")
command.Flags().StringVar(&flags.warnings,"warnings","none",`Optional, can be "none", "default", "more" and "all". Defaults to "none". Used to tell gcc which warning level to use (-W flag).`)
command.Flags().BoolVarP(&flags.verbose,"verbose","v",false,"Optional, turns on verbose mode.")