mirror of
https://github.com/sbrl/terrain50-cli.git
synced 2024-11-22 06:53: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": {
|
||||
"version": "1.8.1",
|
||||
"resolved": "https://registry.npmjs.org/terrain50/-/terrain50-1.8.1.tgz",
|
||||
"integrity": "sha512-bPAOCOcDHgHoLf2Y7uvk09kDZBRKSkIjBNH5kLzufjzaimxaWVJiALegO9RYw5sHRlU+nzbPZ/0trdJjSs/CRQ==",
|
||||
"version": "1.8.2",
|
||||
"resolved": "https://registry.npmjs.org/terrain50/-/terrain50-1.8.2.tgz",
|
||||
"integrity": "sha512-2gdPikCZJFSKhbH/3B7uMQvvHB37GEjIaaqTIrdWZsxczd+l/CQtJviwyQ3nkWiQ5o7bs8fW0bVwKY7easjG5A==",
|
||||
"requires": {
|
||||
"nexline": "^1.2.1",
|
||||
"nnng": "^1.0.0"
|
||||
|
|
|
@ -37,7 +37,7 @@
|
|||
"chroma-js": "^2.1.0",
|
||||
"image-encode": "^1.3.0",
|
||||
"nexline": "^1.2.1",
|
||||
"terrain50": "^1.8.1"
|
||||
"terrain50": "^1.8.2"
|
||||
},
|
||||
"bin": {
|
||||
"terrain50": "./src/index.mjs"
|
||||
|
|
|
@ -32,7 +32,8 @@ export default async function(settings) {
|
|||
|
||||
let result_map = await Terrain50.AnalyseFrequencies(
|
||||
Terrain50.ParseStream(stream_in),
|
||||
settings.cli.ignore_nodata
|
||||
settings.cli.ignore_nodata,
|
||||
settings.cli.quiet
|
||||
);
|
||||
|
||||
let result_arr = [];
|
||||
|
|
Loading…
Reference in a new issue