diff --git a/main.go b/main.go index 5050dc6..b697528 100644 --- a/main.go +++ b/main.go @@ -25,10 +25,11 @@ type Node struct { } type Arguments struct { - Baseurl string `arg:"required" help:"Base URL of the Confluence instance (required)"` - Spacekey string `arg:"required" help:"Spacekey to export (required)"` - User string `arg:"required" help:"User used for authentication (required)"` - Token string `arg:"required" help:"Token used for authentication (required)"` + Baseurl string `arg:"required" help:"Base URL of the Confluence instance (required)"` + Spacekey string `arg:"required" help:"Spacekey to export (required)"` + User string `arg:"required" help:"User used for authentication (required)"` + Token string `arg:"required" help:"Token used for authentication (required)"` + WithAttachments bool `arg:"-a,--attachments" help:"Download attachments"` } func (n *Node) writeIndex(w io.Writer) { @@ -38,7 +39,7 @@ func (n *Node) writeIndex(w io.Writer) {