button ~master (2018-11-15T00:26:20Z)
Dub
Repo
CleanOptions
button
cli
options
Undocumented in source.
@
Command
("clean")
@
Description
("Deletes all build outputs.")
struct
CleanOptions {
@
Option
("file", "f")
@
Help
("Path to the build description.")
string
path
;
@
Option
("dryrun", "n")
@
Help
("Don't make any functional changes. Just print what might happen.")
OptionFlag
dryRun
;
@
Option
("threads", "j")
@
Help
("The number of threads to use. Default is the number of logical cores.")
@
MetaVar
("N")
size_t
threads
;
@
Option
("color")
@
Help
("When to colorize the output.")
@
MetaVar
("{auto,never,always}")
string
color
;
@
Option
("purge")
@
Help
("Delete the build state too.")
OptionFlag
purge
;
}
Members
Variables
color
string
color
;
Undocumented in source.
dryRun
OptionFlag
dryRun
;
Undocumented in source.
path
string
path
;
Undocumented in source.
purge
OptionFlag
purge
;
Undocumented in source.
threads
size_t
threads
;
Undocumented in source.
Meta
Source
See Implementation
button
cli
options
aliases
OptionsList
enums
ConvertFormat
functions
runCommand
structs
BuildOptions
CleanOptions
Command
ConvertOptions
Description
GCOptions
GlobalOptions
GraphOptions
HelpOptions
InitOptions
StatusOptions
VersionOptions
variables
globalHelp
globalUsage