feat: added xmp data

This commit is contained in:
2026-02-07 16:09:34 +01:00
parent b659359a79
commit 1196274498
17 changed files with 513 additions and 46 deletions
+8 -2
View File
@@ -3,6 +3,7 @@ package main
import (
"log"
"os"
"path"
"pdf/lib"
@@ -10,10 +11,16 @@ import (
)
func main() {
exeName, err := os.Executable()
if err != nil {
log.Fatal(err)
}
app := &cli.App{
Name: "pdf_invoice",
Name: path.Base(exeName),
Usage: "Pdf xml invoice helper cli",
UseShortOptionHandling: true,
Version: "1.0.0",
Commands: []*cli.Command{
{
Name: "extract",
@@ -86,7 +93,6 @@ func main() {
},
},
}
var err error
err = app.Run(os.Args)
if err != nil {