feat: added xmp data
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user