Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Dump ¶
type Dump struct { TargetID string `kong:"arg,help='Hatena-ID to dump'"` Folders []string `kong:"arg,optional,help='Specify folders'"` Top bool `kong:"short='t',help='Include top fotos'"` Dir string `kong:"short='d',help='Directory to save'"` Update bool `kong:"short='u',help='Skip if already downloaded'"` DryRun bool `kong:"short='n',help='Don\\'t download (use with -v)'"` Para int `kong:"hidden"` }
type Options ¶
type Options struct { Password string `kong:"short='p',help='Password when want login'"` LoginID string `kong:"short='l',help='Login as other ID'"` Verbose bool `kong:"short='v',help='Enable verbose mode'"` Debug bool `kong:"hidden,help='Print debug info'"` PrintVersion PrintVersion `kong:"hidden,help='Print version'"` Logger Logger `kong:"-"` }
type PrintVersion ¶
type PrintVersion bool
func (PrintVersion) BeforeApply ¶
func (PrintVersion) Decode ¶
func (PrintVersion) Decode(ctx *kong.DecodeContext) error
Click to show internal directories.
Click to hide internal directories.