Commit graph

47 commits

Author SHA1 Message Date
8f3304b56f Fix prompt indicator 2023-07-28 19:10:04 +02:00
f515849caa Remove color chars on windows
We only support Unix like systems for colors and windows gets the color
information removed to reduce the output clutter.
2023-07-28 18:20:11 +02:00
2608746df0 Add note about the tested support for minecraft in readme 2023-07-28 14:52:31 +02:00
017288f674 Add license section to the readme 2023-07-28 14:48:09 +02:00
54b2977dc5 Add craftbukkit color support
Except on Windows.

Taken from b39477abe1
2023-07-28 14:30:17 +02:00
a532d2ef99 Acknowledge return values from printing functions
Most of the time we don't care about the return values of a print
function, but we should at leased visualize that there is a return
value that we don't care about or want to ignore with a "_".
2023-07-28 13:51:56 +02:00
00a1fd3f0e
Change module name to match repository name 2022-03-04 01:13:46 +01:00
5490b90887
Update rcon lib to version 1.0.1
Fixes parsing of empty and null containing packets
2022-03-04 01:06:10 +01:00
9db0f9f923
Refactor cmd execution function chain to be more readable
The execution was originaly build to be used as a lib, but this is no
longer the case and so I removed all the `io.Writer` and `io.Reader`
interactions. The app reads now from Stdin and writes to Stdout as it
did before.
It also redoes the error handling so that all errors that are not
treated are being handled in the `main` function.
2022-02-03 00:27:16 +01:00
df5d02cbe4
Extract shared cmd execution into own function 2022-02-02 23:20:08 +01:00
6ee166e754
Move cli/entry.go into main.go
This is to remove the directory that is used in cobra setups.
While we could kept the file inside the root directory but it only
contains two small functions that can be moved into the `main.go` file.
2022-02-02 22:44:49 +01:00
07cae8959a Remove old project badges 2021-03-09 00:56:25 +01:00
db64e663c7 Add exit key word for interactive session to quit it 2021-03-09 00:54:18 +01:00
5d78c7478a Update README with fork information 2021-03-08 16:57:30 +01:00
e98f292695 Replace james4k/rcon with hamburghamer/rcon
The rcon lib from hamburghammer is a rework of james4k ones.
It provides a better readable implementation.
2021-03-08 16:44:58 +01:00
aed30e4a74 Remove cobra as cli flag manager
This reduces the package size by ca. 50%. One draw back of this
change is that there is no longer support for the `config.yml` file.
There is also a change inside the env vars naming: The variables have to
start with `RCON_CLI`.
2021-03-08 16:39:07 +01:00
e3e863fe36 Add build stage to the docker image build 2021-03-08 00:26:53 +01:00
2ef044623a Remove gorelease and circleci config 2021-03-08 00:03:47 +01:00
01257b69a7 Fix golint warnings 2021-03-08 00:00:25 +01:00
fd3c96e6b7 Remove license/copyright holder headers 2021-03-07 23:54:25 +01:00
ac41268ddb Add copyright holder to the license file
Used the information from the projects files to update the copyright
holder part inside the license file.
2021-03-07 23:51:58 +01:00
0b56f020dc Fix fmt 2021-03-07 23:46:21 +01:00
Geoff Bourne
31d6d63079 docs: added release and build badges 2020-05-16 12:42:53 -05:00
Geoff Bourne
c811acde0d ci: fixed archives config 2020-05-16 12:39:23 -05:00
futek
6ab7bbd412
Use ENTRYPOINT exec form instead of shell form (#6)
The image has no shell at /bin/sh so the shell form does not work
2020-05-16 12:16:29 -05:00
Geoff Bourne
ef0727479c ci: go mod tidy 2019-09-17 21:41:27 -05:00
Geoff Bourne
0425a4511a Add 386 build and upgrade to Go 1.13 2019-09-17 21:37:09 -05:00
Geoff Bourne
6c9910b1aa
Merge pull request #3 from zlotny/patch-1
Adds config file information on readme
2019-05-27 21:12:35 -05:00
Andrés Vieira
9f807041e5
Adds config file information on readme 2019-05-27 14:40:45 +02:00
Geoff Bourne
b80e38df63 Add armv7 (RPi) support 2019-05-05 13:55:27 -05:00
Geoff Bourne
136449d1ce Add arm64 support 2019-05-05 09:21:06 -05:00
Geoff Bourne
722c7b7e2e ci: allow extended version tags
ci: split CircleCI release into its own workflow
docs: adding release instructions
ci: Switch to Go modules
2019-01-10 20:25:23 -06:00
Geoff Bourne
192450ba31 Don't use config file searching when explicitly passed
For #2
2019-01-09 22:21:15 -06:00
Geoff Bourne
4705ae12e2 ci: fix docker build 2018-05-19 11:39:34 -05:00
Geoff Bourne
4a1b318c62 ci: ignore ci commits in goreleaser 2018-05-19 10:18:03 -05:00
Geoff Bourne
f75ba84841 ci: fix circleci workflow name 2018-05-19 10:17:04 -05:00
Geoff Bourne
850e9061b4 Switch to dep
Upgrade to CircleCI 2
Use goreleaser - include RaspberryPi compatible build
2018-05-19 10:16:00 -05:00
Geoff Bourne
3fb944cae6 Allow for one-shot command executions 2017-04-09 08:18:37 -05:00
Geoff Bourne
cb9bcc5c24 Show basic prompt 2017-04-07 19:23:49 -05:00
Geoff Bourne
0671f100c6 Also read config from RCON_ env vars 2017-04-07 19:13:50 -05:00
Geoff Bourne
2dfaca5aa3 In circle build, allow git describe to give us an error 2017-04-05 15:42:49 -05:00
Geoff Bourne
acbd1aad96 Added install and usage to README 2017-04-05 15:37:32 -05:00
Geoff Bourne
9873bc09f5 In circle build, show git describe errors 2017-04-05 15:22:40 -05:00
Geoff Bourne
a4c0705a3d In circle build set image command 2017-04-05 15:20:44 -05:00
Geoff Bourne
eb9cd84e1d Clarify when circle builds skips deploy 2017-04-05 15:18:04 -05:00
Geoff Bourne
cabbf6376a Fixing glide lock 2017-04-05 15:15:07 -05:00
Geoff Bourne
3a873489ed Initial commit 2017-04-05 15:12:15 -05:00