pano-tools
Advanced tools
Comparing version 0.3.1 to 0.3.2
14
index.js
#!/usr/bin/env node | ||
const fs = require('fs'); | ||
const program = require('commander'); | ||
@@ -17,5 +18,9 @@ const inquirer = require('inquirer'); | ||
const web = require('./web.js'); | ||
const exif = require('./exif.js'); | ||
const video = require('./video.js'); | ||
const deleteDirs = require('./delete.js'); | ||
const { stages, execs } = require('./config.json'); | ||
program.version(package.version, '-v, --version'); | ||
@@ -136,2 +141,11 @@ | ||
program | ||
.command('exif') | ||
.description('Вшивание exif в jpeg файлы') | ||
.action(() => { | ||
exif().then(r => { | ||
console.log(r.green); | ||
}).catch(console.error); | ||
}); | ||
program | ||
.command('video') | ||
@@ -138,0 +152,0 @@ .description('Создание видео из панорамы') |
{ | ||
"name": "pano-tools", | ||
"version": "0.3.1", | ||
"version": "0.3.2", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -24,2 +24,3 @@ const fs = require('fs'); | ||
rowFiles.map( fileName => { | ||
console.log(fileName); | ||
const baseName = fileName.split('.')[0]; | ||
@@ -37,2 +38,3 @@ const newXmpTemplate = rawDir + "/" + baseName + ".xmp"; | ||
tempPostOptions({rawImport: rawDir, rawExport: tiffDir}); | ||
bar.start(rowFiles.length, progress); | ||
@@ -39,0 +41,0 @@ const watcher = chokidar.watch(tiffDir).on('add', (filePath) => { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
26706381
36
1065
18
13