Added 'default' as default build name for ssg-cli.

This commit is contained in:
JesseBrault0709 2024-05-27 10:53:15 +02:00
parent a221980d98
commit 13b22b1afa
2 changed files with 4 additions and 2 deletions

View File

@ -16,11 +16,12 @@ abstract class AbstractBuildCommand extends AbstractSubCommand {
private static final Logger logger = LogManager.getLogger(AbstractBuildCommand)
@CommandLine.Option(
names = ['-b', '--build'],
names = ['-b', '--build', '--build-name'],
description = 'The name of a build to execute. May be the name of a script (without the .groovy extension) in a build script dir, or a fully-qualified-name of a build script on the classpath or nested in a build script dir.',
arity = '1..*',
required = true,
paramLabel = 'buildName'
paramLabel = 'buildName',
defaultValue = 'default'
)
Set<String> requestedBuilds

View File

@ -2,3 +2,4 @@ bin
.ssg
testBuild
dist
default