mirror of https://github.com/muesli/mastotool
Renamed statootstics to mastotool
This commit is contained in:
parent
eb3901a8c9
commit
637053214c
|
@ -15,4 +15,4 @@
|
||||||
*.json
|
*.json
|
||||||
|
|
||||||
# Binary
|
# Binary
|
||||||
statootstics
|
mastotool
|
||||||
|
|
20
README.md
20
README.md
|
@ -1,5 +1,5 @@
|
||||||
statootstics
|
mastotool
|
||||||
============
|
=========
|
||||||
|
|
||||||
Mastodon Statistics Generator
|
Mastodon Statistics Generator
|
||||||
|
|
||||||
|
@ -8,15 +8,15 @@ Mastodon Statistics Generator
|
||||||
Make sure you have a working Go environment (Go 1.8 or higher is required).
|
Make sure you have a working Go environment (Go 1.8 or higher is required).
|
||||||
See the [install instructions](http://golang.org/doc/install.html).
|
See the [install instructions](http://golang.org/doc/install.html).
|
||||||
|
|
||||||
To install statootstics, simply run:
|
To install mastotool, simply run:
|
||||||
|
|
||||||
go get github.com/muesli/statootstics
|
go get github.com/muesli/mastotool
|
||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
|
|
||||||
```
|
```
|
||||||
$ statootstics -help
|
$ mastotool -help
|
||||||
Usage of ./statootstics:
|
Usage of ./mastotool:
|
||||||
-columns int
|
-columns int
|
||||||
displays tables with N columns (default 80)
|
displays tables with N columns (default 80)
|
||||||
-config string
|
-config string
|
||||||
|
@ -30,7 +30,7 @@ Usage of ./statootstics:
|
||||||
## Example
|
## Example
|
||||||
|
|
||||||
```
|
```
|
||||||
$ statootstics
|
$ mastotool
|
||||||
Which instance to connect to: https://mastodon.social
|
Which instance to connect to: https://mastodon.social
|
||||||
Username (email): some_user@domain.tld
|
Username (email): some_user@domain.tld
|
||||||
Password: ********
|
Password: ********
|
||||||
|
@ -94,6 +94,6 @@ Another tag
|
||||||
|
|
||||||
## Development
|
## Development
|
||||||
|
|
||||||
[![GoDoc](https://godoc.org/github.com/golang/gddo?status.svg)](https://godoc.org/github.com/muesli/statootstics)
|
[![GoDoc](https://godoc.org/github.com/golang/gddo?status.svg)](https://godoc.org/github.com/muesli/mastotool)
|
||||||
[![Build Status](https://travis-ci.org/muesli/statootstics.svg?branch=master)](https://travis-ci.org/muesli/statootstics)
|
[![Build Status](https://travis-ci.org/muesli/mastotool.svg?branch=master)](https://travis-ci.org/muesli/mastotool)
|
||||||
[![Go ReportCard](http://goreportcard.com/badge/muesli/statootstics)](http://goreportcard.com/report/muesli/statootstics)
|
[![Go ReportCard](http://goreportcard.com/badge/muesli/mastotool)](http://goreportcard.com/report/muesli/mastotool)
|
||||||
|
|
2
go.mod
2
go.mod
|
@ -1,4 +1,4 @@
|
||||||
module github.com/muesli/statootstics
|
module github.com/muesli/mastotool
|
||||||
|
|
||||||
require (
|
require (
|
||||||
github.com/gorilla/websocket v1.4.0 // indirect
|
github.com/gorilla/websocket v1.4.0 // indirect
|
||||||
|
|
2
main.go
2
main.go
|
@ -29,7 +29,7 @@ var (
|
||||||
func registerApp(config *Config) (string, error) {
|
func registerApp(config *Config) (string, error) {
|
||||||
app, err := mastodon.RegisterApp(context.Background(), &mastodon.AppConfig{
|
app, err := mastodon.RegisterApp(context.Background(), &mastodon.AppConfig{
|
||||||
Server: config.Value("instance").(string),
|
Server: config.Value("instance").(string),
|
||||||
ClientName: "statootstics",
|
ClientName: "mastotool",
|
||||||
Scopes: "read",
|
Scopes: "read",
|
||||||
Website: "",
|
Website: "",
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in New Issue