Skip to content

Instantly share code, notes, and snippets.

@akfaew
Created May 22, 2019 12:26
Show Gist options
  • Save akfaew/98d814ec039de4befec019b8cf521c5c to your computer and use it in GitHub Desktop.
Save akfaew/98d814ec039de4befec019b8cf521c5c to your computer and use it in GitHub Desktop.
$ git clone https://github.com/geekmail/geekmail-cli
Cloning into 'geekmail-cli'...
$ cd geekmail-cli/
$ make build
go build -o geekmail .
$ cat <<END > ~/.geekmail.yaml
githubauth:
repository: "github.com/geekmail/geekmail-sample"
config_path: "config.yaml"
repo_secret: "password123"
user_token: "XXXXXXXXXXXXXXXXXXXXXXXX"
END
$ ./geekmail draft creategh -template templates/example.template -vars To="John Doe <john@example.com>" -vars Name="`whoami`"
Response: &{Code:200 Message:r3039770344381144942}
$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment