ck

command module
v0.4.1 Latest Latest
Warning

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

Go to latest
Published: Aug 16, 2019 License: MPL-2.0 Imports: 10 Imported by: 0

README

ck - The ConvertKit Tool

Build Status GoDoc

Access the ConvertKit API from the command line.

Installation

If you're on Mac OS X, the easiest way to get the ck command-line tool is via Homebrew:

brew tap mlafeldt/formulas
brew install cktool

You can also build the tool from source, provided you have Go installed:

go get -u github.com/mlafeldt/ck

Usage

Usage:
  ck [command]

Available Commands:
  help        Help about any command
  subscribers List subscribers
  version     Show program version

Flags:
      --api-endpoint string   Set ConvertKit API endpoint
      --api-key string        Set API key for ConvertKit account
      --api-secret string     Set API secret for ConvertKit account
  -h, --help                  help for ck

Use "ck [command] --help" for more information about a command.

The tool understands these environment variables:

  • CONVERTKIT_API_KEY - the same as --api-key
  • CONVERTKIT_API_SECRET - the same as --api-secret
  • CONVERTKIT_API_ENDPOINT - the same as --api-endpoint

Go library

In addition to the CLI tool, the project also provides the convertkit Go library for use in other Go projects. To install it from source:

go get -u github.com/mlafeldt/ck/convertkit

For usage and examples, see the Godoc documentation.

Author

This project is being developed by Mathias Lafeldt.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
Package convertkit provides a client to the ConvertKit API v3.
Package convertkit provides a client to the ConvertKit API v3.

Jump to

Keyboard shortcuts

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