fixes read only option
This commit is contained in:
parent
092738d767
commit
2ceef99d1a
@ -6,7 +6,7 @@ namespace PiwigoDirectorySync.Commands;
|
||||
internal class SyncCommandSettings : CommonCommandSettings
|
||||
{
|
||||
[Description("specify this flag to only read from the piwigo server and skip all updates. This might help on initial sync with an existing gallerie to not change any data.")]
|
||||
[CommandOption("-ro|--read-only")]
|
||||
[CommandOption("-r|--read-only")]
|
||||
[DefaultValue(false)]
|
||||
public bool ReadOnly { get; set; }
|
||||
}
|
@ -13,6 +13,12 @@
|
||||
"environmentVariables": {
|
||||
}
|
||||
},
|
||||
"SyncAlbumsReadOnly": {
|
||||
"commandName": "Project",
|
||||
"commandLineArgs": "sync albums 1 -r",
|
||||
"environmentVariables": {
|
||||
}
|
||||
},
|
||||
"SyncImages": {
|
||||
"commandName": "Project",
|
||||
"commandLineArgs": "sync images 1",
|
||||
@ -25,6 +31,12 @@
|
||||
"environmentVariables": {
|
||||
}
|
||||
},
|
||||
"SyncFullReadOnly": {
|
||||
"commandName": "Project",
|
||||
"commandLineArgs": "sync full 1 -r",
|
||||
"environmentVariables": {
|
||||
}
|
||||
},
|
||||
"Download": {
|
||||
"commandName": "Project",
|
||||
"commandLineArgs": "download",
|
||||
|
Loading…
Reference in New Issue
Block a user