@mittwald/cli 1.2.0 → 1.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -5,7 +5,7 @@ export interface AppInstallationSyncFlags {
|
|
|
5
5
|
exclude: string[];
|
|
6
6
|
"dry-run": boolean;
|
|
7
7
|
delete: boolean;
|
|
8
|
-
"sub-directory"?: string;
|
|
8
|
+
"remote-sub-directory"?: string;
|
|
9
9
|
}
|
|
10
10
|
export declare const appInstallationSyncFlags: (direction: "upload" | "download") => {
|
|
11
11
|
exclude: import("@oclif/core/interfaces").OptionFlag<string[], import("@oclif/core/interfaces").CustomOptions>;
|
|
@@ -25,5 +25,5 @@ export declare function filterFileToRsyncFlagsIfPresent(targetDir: string, filte
|
|
|
25
25
|
* @param subDirectory Optional sub-directory within the app installation to
|
|
26
26
|
* sync
|
|
27
27
|
*/
|
|
28
|
-
export declare function buildRsyncConnectionString({ host, directory, user }: SSHConnectionData, { "sub-directory": subDirectory }: AppInstallationSyncFlags): string;
|
|
28
|
+
export declare function buildRsyncConnectionString({ host, directory, user }: SSHConnectionData, { "remote-sub-directory": subDirectory }: AppInstallationSyncFlags): string;
|
|
29
29
|
export declare function appInstallationSyncFlagsToRsyncFlags(f: AppInstallationSyncFlags & SSHConnectionFlags): string[];
|
|
@@ -47,7 +47,7 @@ export async function filterFileToRsyncFlagsIfPresent(targetDir, filterFile = de
|
|
|
47
47
|
* @param subDirectory Optional sub-directory within the app installation to
|
|
48
48
|
* sync
|
|
49
49
|
*/
|
|
50
|
-
export function buildRsyncConnectionString({ host, directory, user }, { "sub-directory": subDirectory }) {
|
|
50
|
+
export function buildRsyncConnectionString({ host, directory, user }, { "remote-sub-directory": subDirectory }) {
|
|
51
51
|
if (subDirectory) {
|
|
52
52
|
directory = path.join(directory, subDirectory).replace(/\/$/, "");
|
|
53
53
|
}
|