Created
May 22, 2019 12:26
-
-
Save akfaew/98d814ec039de4befec019b8cf521c5c to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ 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 <[email protected]>" -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