UNPKG

@seasketch/geoprocessing

Version:

Geoprocessing and reporting framework for SeaSketch 2.0

6 lines 332 B
import { $ } from "zx"; /** Publish datasource files, all formats, to datasets bucket */ export async function publishDatasource(dstPath, format, datasourceId, bucketName) { return $ `aws s3 sync ${dstPath} s3://${bucketName} --exclude='*' --include='${datasourceId}.${format}'`; } //# sourceMappingURL=publishDatasource.js.map