-
Notifications
You must be signed in to change notification settings - Fork 470
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
#26002 Handling the sync process of languages
- Loading branch information
1 parent
a32d925
commit f0b192b
Showing
5 changed files
with
132 additions
and
78 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
13 changes: 13 additions & 0 deletions
13
tools/dotcms-cli/cli/src/main/java/com/dotcms/cli/command/language/LanguagesPushMixin.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
package com.dotcms.cli.command.language; | ||
|
||
import picocli.CommandLine; | ||
|
||
public class LanguagesPushMixin { | ||
|
||
@CommandLine.Option(names = {"-rf", "--removeLanguages"}, defaultValue = "false", | ||
description = | ||
"When this option is enabled, the push process allows the deletion of languages in the remote server. " | ||
+ "By default, this option is disabled, and languages will not be removed on the remote server.") | ||
public boolean removeLanguages; | ||
|
||
} |