cmd

package
v2.4.0+incompatible Latest Latest
Warning

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

Go to latest
Published: May 1, 2018 License: MIT Imports: 22 Imported by: 0

README

Mailbox CMD GoDoc

四個主要的命令來運作 Mailboxmailbox campaign, mailbox user, mailbox sender, mailbox server

也提供將程式編譯後再放入 alpine

CMD

mailbox campaign

建立 campaign,包含產生該 campaign 的亂數種子。

mailbox user

匯入訂閱者的資訊。

mailbox sender

發送電子報,以 HTML 格式發送。

mailbox server

接收開信訊息。

Docs: docs/mailbox

Docker

toomore/mailbox:cmd

只將編譯過的 cmd 程式放入。

sh ./build-min.sh;

Required: toomore/mailbox:base, run sh ./build-base.sh first.

... and Run

docker run -it --rm toomore/mailbox:cmd [sh or mailbox's cmd]

Documentation

Index

Constants

This section is empty.

Variables

View Source
var RootCmd = &cobra.Command{
	Use:   "mailbox",
	Short: "簡易電子報發送系統",
	Long: `簡易電子報發送系統,使用 Golang 實作。建立發送 campaign 資訊、匯入訂閱者資訊(群組標記)、簡易發送系統、開信追蹤與連結點擊追蹤。

以 docker container 運行。`,

	Run: func(cmd *cobra.Command, args []string) {
		cmd.Help()
	},
}

RootCmd represents the base command when called without any subcommands

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

This section is empty.

Jump to

Keyboard shortcuts

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