mirror of
https://github.com/sbrl/terrain50-cli.git
synced 2024-11-23 07:03:01 +00:00
analyse-frequencies: add --quiet subcommand
This commit is contained in:
parent
460e2bc1aa
commit
260eea9133
3 changed files with 6 additions and 5 deletions
6
package-lock.json
generated
6
package-lock.json
generated
|
@ -338,9 +338,9 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"terrain50": {
|
"terrain50": {
|
||||||
"version": "1.8.1",
|
"version": "1.8.2",
|
||||||
"resolved": "https://registry.npmjs.org/terrain50/-/terrain50-1.8.1.tgz",
|
"resolved": "https://registry.npmjs.org/terrain50/-/terrain50-1.8.2.tgz",
|
||||||
"integrity": "sha512-bPAOCOcDHgHoLf2Y7uvk09kDZBRKSkIjBNH5kLzufjzaimxaWVJiALegO9RYw5sHRlU+nzbPZ/0trdJjSs/CRQ==",
|
"integrity": "sha512-2gdPikCZJFSKhbH/3B7uMQvvHB37GEjIaaqTIrdWZsxczd+l/CQtJviwyQ3nkWiQ5o7bs8fW0bVwKY7easjG5A==",
|
||||||
"requires": {
|
"requires": {
|
||||||
"nexline": "^1.2.1",
|
"nexline": "^1.2.1",
|
||||||
"nnng": "^1.0.0"
|
"nnng": "^1.0.0"
|
||||||
|
|
|
@ -37,7 +37,7 @@
|
||||||
"chroma-js": "^2.1.0",
|
"chroma-js": "^2.1.0",
|
||||||
"image-encode": "^1.3.0",
|
"image-encode": "^1.3.0",
|
||||||
"nexline": "^1.2.1",
|
"nexline": "^1.2.1",
|
||||||
"terrain50": "^1.8.1"
|
"terrain50": "^1.8.2"
|
||||||
},
|
},
|
||||||
"bin": {
|
"bin": {
|
||||||
"terrain50": "./src/index.mjs"
|
"terrain50": "./src/index.mjs"
|
||||||
|
|
|
@ -32,7 +32,8 @@ export default async function(settings) {
|
||||||
|
|
||||||
let result_map = await Terrain50.AnalyseFrequencies(
|
let result_map = await Terrain50.AnalyseFrequencies(
|
||||||
Terrain50.ParseStream(stream_in),
|
Terrain50.ParseStream(stream_in),
|
||||||
settings.cli.ignore_nodata
|
settings.cli.ignore_nodata,
|
||||||
|
settings.cli.quiet
|
||||||
);
|
);
|
||||||
|
|
||||||
let result_arr = [];
|
let result_arr = [];
|
||||||
|
|
Loading…
Reference in a new issue