@seasketch/geoprocessing
Version:
Geoprocessing and reporting framework for SeaSketch 2.0
24 lines • 742 B
JavaScript
import inquirer from "inquirer";
export async function precalcQuestion(questionText) {
return inquirer.prompt([
{
type: "list",
name: "precalc",
message: questionText
? questionText
: "Will you be precalculating summary metrics for this datasource after import? (Typically yes if reporting sketch % overlap with datasource)",
default: "yes",
choices: [
{
value: true,
name: "Yes",
},
{
value: false,
name: "No",
},
],
},
]);
}
//# sourceMappingURL=precalcQuestion.js.map