1
0
Fork 0
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:
Starbeamrainbowlabs 2020-09-28 18:02:55 +01:00
parent 460e2bc1aa
commit 260eea9133
Signed by: sbrl
GPG key ID: 1BE5172E637709C2
3 changed files with 6 additions and 5 deletions

6
package-lock.json generated
View file

@ -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"

View file

@ -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"

View file

@ -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 = [];