cmd

package
v0.0.0-...-5f6421e Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 12, 2022 License: ISC Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Slug bool
View Source
var Type string

Flags

Functions

func Execute

func Execute()

Execute adds all child commands to the root command and sets flags appropriately. This is called by main.main(). It only needs to happen once to the rootCmd.

Types

type Config

type Config struct {
	User struct {
		Name  string
		Email string
	}
	Post struct {
		Root string
	}
	Twitter struct {
		ConsumerKey       string
		ConsumerSecret    string
		AccessToken       string
		AccessTokenSecret string
	}
	File struct {
		Root string
	}
}

Config holds user specified configuration information

type Draft

type Draft struct {
	// contains filtered or unexported fields
}

Draft holds metadata about the draft

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL