Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // Username is the username of the account to import to. Username string // DstBlog is the alias of the blog to import to. DstBlog string // InstanceURL is the fully qualified URL of the WriteFreely instance to import to. InstanceURL string )
View Source
var Client *writeas.Client
View Source
var DefaultFlags = []cli.Flag{ &cli.StringFlag{ Name: "user", Aliases: []string{"u"}, Usage: "Username for the Write.as/WriteFreely account", Required: true, Destination: &Username, }, &cli.StringFlag{ Name: "blog", Aliases: []string{"b"}, Usage: "Alias of the destination blog for importing your content.", Required: true, Destination: &DstBlog, }, &cli.StringFlag{ Name: "instance", Aliases: []string{"i"}, Usage: "URL of your WriteFreely instance (e.g., '--instance https://pencil.writefree.ly')", Destination: &InstanceURL, DefaultText: "https://write.as", }, }
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.