summaryrefslogtreecommitdiffstats
path: root/example.nim
blob: 2d5bedad7a0eb9fd548a1be803d4b2b1ebc0ed84 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
import os
import exif

var result: cint

if paramCount()  == 0:
  echo "Gimme a file pls"
  quit(QuitFailure)

init_exif()
echo $collect_exif(paramStr(1))