equal
deleted
inserted
replaced
1 # madonctl |
1 # madonctl |
2 |
2 |
3 Golang command line interface for the Mastodon API |
3 Golang command line interface for the Mastodon API |
4 |
4 |
5 [![license](https://img.shields.io/badge/license-MIT-blue.svg?style=flat)](https://raw.githubusercontent.com/McKael/madonctl/master/LICENSE) |
5 [![license](https://img.shields.io/badge/license-MIT-blue.svg?style=flat)](https://raw.githubusercontent.com/McKael/madonctl/master/LICENSE) |
6 [![Build Status](https://travis-ci.org/McKael/madonctl.svg?branch=master)](https://travis-ci.org/McKael/madonctl) |
|
7 |
6 |
8 `madonctl` is a [Go](https://golang.org/) CLI tool to use the Mastodon REST API. |
7 `madonctl` is a [Go](https://golang.org/) CLI tool to use the Mastodon REST API. |
9 |
8 |
10 It is built on top of [madon](https://github.com/McKael/madon), my Golang |
9 It is built on top of [madon](https://github.com/McKael/madon), my Golang |
11 implementation of the API. |
10 implementation of the API. |
20 More pre-built binaries might be available from the [Homepage](https://lilotux.net/~mikael/pub/madonctl/) |
19 More pre-built binaries might be available from the [Homepage](https://lilotux.net/~mikael/pub/madonctl/) |
21 (development version and builds for a few other platforms). |
20 (development version and builds for a few other platforms). |
22 |
21 |
23 ### From source |
22 ### From source |
24 |
23 |
25 madonctl now uses Go modules introduced with Go v1.11. |
24 madonctl uses Go modules (dependencies have been vendored for convenience). |
26 |
25 |
27 For backward compatibility, dependencies have been vendored and you should |
26 You can install `madonctl` with the usual Go command: |
28 still be able to build it "the old way" with: |
27 |
29 |
28 go install github.com/McKael/madonctl |
30 go get github.com/McKael/madonctl |
29 |
31 |
30 Alternatively: |
32 Alternatively, with Go >= 1.11: |
|
33 |
31 |
34 git clone https://github.com/McKael/madonctl |
32 git clone https://github.com/McKael/madonctl |
35 cd madonctl |
33 cd madonctl |
36 go build # (or go install) |
34 go build # (or go install) |
37 |
35 |
38 and you should be able to use `madonctl`. |
36 and you should be able to use `madonctl`. |
39 |
|
40 Travis automated testing is run for Go versions 1.11 - 1.13. |
|
41 |
37 |
42 ## Usage |
38 ## Usage |
43 |
39 |
44 ### Configuration |
40 ### Configuration |
45 |
41 |