Documentation
¶
Index ¶
- func Execute(args []string) (err error)
- func VersionString() string
- type AuthCmd
- type AuthLoginCmd
- type AuthRemoveCmd
- type AuthSetCredentialsCmd
- type AuthStatusCmd
- type CLI
- type DocumentsCmd
- type DocumentsDownloadCmd
- type DocumentsListCmd
- type EnvelopesAuditCmd
- type EnvelopesCmd
- type EnvelopesCreateCmd
- type EnvelopesGetCmd
- type EnvelopesListCmd
- type EnvelopesSendCmd
- type EnvelopesVoidCmd
- type ExitError
- type RecipientsCmd
- type RecipientsListCmd
- type RootFlags
- type TemplatesCmd
- type TemplatesGetCmd
- type TemplatesListCmd
- type VersionCmd
- type ViewsCmd
- type ViewsSigningCmd
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func VersionString ¶
func VersionString() string
Types ¶
type AuthCmd ¶
type AuthCmd struct {
Login AuthLoginCmd `cmd:"" help:"Login via OAuth 2.0 authorization code flow"`
SetCredentials AuthSetCredentialsCmd `cmd:"" help:"Set integration key and secret key"`
Status AuthStatusCmd `cmd:"" help:"Show authentication status"`
Remove AuthRemoveCmd `cmd:"" help:"Remove all stored credentials and tokens"`
}
type AuthLoginCmd ¶
type AuthLoginCmd struct{}
type AuthRemoveCmd ¶
type AuthRemoveCmd struct{}
type AuthSetCredentialsCmd ¶
type AuthSetCredentialsCmd struct{}
type AuthStatusCmd ¶
type AuthStatusCmd struct{}
type CLI ¶
type CLI struct {
RootFlags `embed:""`
Version kong.VersionFlag `help:"Print version and exit"`
Auth AuthCmd `cmd:"" help:"Auth and credentials"`
Envelopes EnvelopesCmd `cmd:"" help:"Envelope operations"`
Documents DocumentsCmd `cmd:"" help:"Document operations"`
Recipients RecipientsCmd `cmd:"" help:"Recipient operations"`
Templates TemplatesCmd `cmd:"" help:"Template operations"`
Views ViewsCmd `cmd:"" help:"View operations"`
VersionCmd VersionCmd `cmd:"" name:"version" help:"Print version"`
}
type DocumentsCmd ¶
type DocumentsCmd struct {
List DocumentsListCmd `cmd:"" help:"List documents in an envelope"`
Download DocumentsDownloadCmd `cmd:"" help:"Download a document as PDF"`
}
type DocumentsDownloadCmd ¶
type DocumentsListCmd ¶
type DocumentsListCmd struct {
EnvelopeID string `arg:"" required:"" help:"Envelope ID"`
}
type EnvelopesAuditCmd ¶
type EnvelopesAuditCmd struct {
ID string `arg:"" required:"" help:"Envelope ID"`
}
type EnvelopesCmd ¶
type EnvelopesCmd struct {
List EnvelopesListCmd `cmd:"" help:"List envelopes"`
Get EnvelopesGetCmd `cmd:"" help:"Get envelope details"`
Create EnvelopesCreateCmd `cmd:"" help:"Create a new envelope"`
Send EnvelopesSendCmd `cmd:"" help:"Send a draft envelope"`
Void EnvelopesVoidCmd `cmd:"" help:"Void an envelope"`
Audit EnvelopesAuditCmd `cmd:"" help:"Get envelope audit trail"`
}
type EnvelopesCreateCmd ¶
type EnvelopesCreateCmd struct {
Subject string `required:"" help:"Email subject for the envelope"`
SignerEmail string `required:"" help:"Signer's email address" name:"signer-email"`
SignerName string `required:"" help:"Signer's name" name:"signer-name"`
Document string `required:"" help:"Path to document file"`
Status string `help:"Envelope status: sent or created (draft)" default:"sent"`
}
type EnvelopesGetCmd ¶
type EnvelopesGetCmd struct {
ID string `arg:"" required:"" help:"Envelope ID"`
}
type EnvelopesListCmd ¶
type EnvelopesSendCmd ¶
type EnvelopesSendCmd struct {
ID string `arg:"" required:"" help:"Envelope ID"`
}
type EnvelopesVoidCmd ¶
type RecipientsCmd ¶
type RecipientsCmd struct {
List RecipientsListCmd `cmd:"" help:"List recipients of an envelope"`
}
type RecipientsListCmd ¶
type RecipientsListCmd struct {
EnvelopeID string `arg:"" required:"" help:"Envelope ID"`
}
type RootFlags ¶
type RootFlags struct {
Color string `help:"Color output: auto|always|never" default:"${color}"`
JSON bool `help:"Output JSON to stdout (best for scripting)" default:"${json}"`
Plain bool `help:"Output stable, parseable text to stdout (TSV; no colors)" default:"${plain}"`
Force bool `help:"Skip confirmations for destructive commands"`
NoInput bool `help:"Never prompt; fail instead (useful for CI)"`
Verbose bool `help:"Enable verbose logging"`
}
type TemplatesCmd ¶
type TemplatesCmd struct {
List TemplatesListCmd `cmd:"" help:"List templates"`
Get TemplatesGetCmd `cmd:"" help:"Get template details"`
}
type TemplatesGetCmd ¶
type TemplatesGetCmd struct {
ID string `arg:"" required:"" help:"Template ID"`
}
type TemplatesListCmd ¶
type VersionCmd ¶
type VersionCmd struct{}
type ViewsCmd ¶
type ViewsCmd struct {
Signing ViewsSigningCmd `cmd:"" help:"Create an embedded signing URL"`
}
type ViewsSigningCmd ¶
type ViewsSigningCmd struct {
EnvelopeID string `arg:"" required:"" help:"Envelope ID"`
SignerEmail string `required:"" help:"Signer's email address" name:"signer-email"`
SignerName string `required:"" help:"Signer's name" name:"signer-name"`
ReturnURL string `required:"" help:"Return URL after signing" name:"return-url"`
ClientUserID string `help:"Client user ID for embedded signing" name:"client-user-id"`
}
Click to show internal directories.
Click to hide internal directories.