cmd

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

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

Go to latest
Published: Mar 29, 2019 License: ISC Imports: 15 Imported by: 0

Documentation

Overview

Copyright 2015 Gabriel Guzman <gabe@lifewaza.com> All rights reserved. Use of this source code is governed by the ISC license that can be found in the LICENSE file.

Index

Constants

This section is empty.

Variables

This section is empty.

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
	}
}

type Draft

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

Jump to

Keyboard shortcuts

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