rangement/index.ts

31 lines
749 B
TypeScript
Raw Normal View History

2023-07-19 12:32:13 +02:00
/**---------------------
* @name tykayn Rangement
* @description Rangement sorts and rename files depending on their exif data
* @contact contact@cipherbliss.com
--------------------- */
/** ---------------------
libs
--------------------- */
import fs from 'node-fs'
import minimist from 'minimist'
import log from 'loglevel'
import * as path from 'node:path'
/** ---------------------
custom utilities and configuration
--------------------- */
import rangement_instance from './conf/configs'
import finder from './utils/finder'
let mini_arguments
let expandedFileList = []
2023-07-19 12:32:13 +02:00
log.setLevel(rangement_instance.log_level)
log.info(' ')
finder.parseArguments()
2023-07-19 17:59:20 +02:00
finder.guessFileNameOnAllFilesFromArguments()
2023-07-19 12:32:13 +02:00
console.log('hello ts', finder)