mirror of
https://github.com/sbrl/terrain50-cli.git
synced 2024-07-03 11:14:56 +00:00
22 lines
572 B
JavaScript
22 lines
572 B
JavaScript
|
"use strict";
|
||
|
|
||
|
import fs from 'fs';
|
||
|
import path from 'path';
|
||
|
|
||
|
const __dirname = import.meta.url.slice(7, import.meta.url.lastIndexOf("/"));
|
||
|
|
||
|
// Default settings object
|
||
|
// This is a (greatly) simplified stand-in for the much more advanced settings parsing system we have going on in our maina PhD-Code codebase.
|
||
|
export default {
|
||
|
cli: {
|
||
|
program_name: "terrain50",
|
||
|
description: "manipulates ordnance survey digital elevation model files"
|
||
|
},
|
||
|
output: {
|
||
|
ansi_colour: true
|
||
|
},
|
||
|
package: JSON.parse(fs.readFileSync(
|
||
|
path.resolve(__dirname, "../../package.json")
|
||
|
))
|
||
|
};
|