Skip to content

Commit

Permalink
add status-page management to CLI
Browse files Browse the repository at this point in the history
  • Loading branch information
BigBoot committed Jan 13, 2024
1 parent 2a0b3f0 commit 1c8ca09
Show file tree
Hide file tree
Showing 12 changed files with 419 additions and 52 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- renamed env var `AUTOKUMA__KUMA__TAG_NAME` to `AUTOKUMA__TAG_NAME` due to package splitting
- renamed env var `AUTOKUMA__KUMA__TAG_COLOR` to `AUTOKUMA__TAG_COLOR` due to package splitting
- renamed env var `AUTOKUMA__KUMA__DEFAULT_SETTINGS` to `AUTOKUMA__DEFAULT_SETTINGS` due to package splitting
- automatically append `/socket.io/` to `KUMA__URL`

## [0.2.0] - 2024-01-09
### Added
Expand Down
3 changes: 3 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ humantime-serde = { version = "1.1.1" }
itertools = { version = "0.12.0" }
log = { version = "0.4.20" }
pretty_env_logger = { version = "0.5.0" }
reqwest = { version = "0.11.23", features = ["json"] }
rust_socketio = { git = "https://github.com/1c3t3a/rust-socketio.git", rev = "9ccf67b", features = [
"async",
] }
Expand All @@ -36,3 +37,4 @@ thiserror = { version = "1.0.56" }
time = { version = "0.3.31", features = ["serde"] }
tokio = { version = "1.35.1", features = ["full"] }
toml = { version = "0.8.8" }
url = { version = "*", features = ["serde"] }
16 changes: 8 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -169,12 +169,12 @@ Kuma CLI is a Command-Line Interface (CLI) tool for managing and interacting wit
- [x] `get`
- [x] `pause`
- [x] `resume`
- [ ] Commands : `kuma status`
- [ ] `add`
- [ ] `delete`
- [ ] `edit`
- [ ] `ls`
- [ ] `get`
- [x] Commands : `kuma status-page`
- [x] `add`
- [x] `delete`
- [x] `edit`
- [x] `ls`
- [x] `get`

## 🔧 How to Install

Expand Down Expand Up @@ -226,7 +226,7 @@ Options:

All configuration options can also be specified as environment variables:
```
KUMA__URL="http://localhost:3001/socket.io/"
KUMA__URL="http://localhost:3001/"
KUMA__USERNAME="<username>"
KUMA__PASSWORD="<password>"
...
Expand All @@ -241,7 +241,7 @@ Additionally Kuma CLI will read configuration from a file named `kuma.{toml,yaml

An example `.toml` config could look like the following:
```toml
url = "http://localhost:3001/socket.io/"
url = "http://localhost:3001/"
username = "<username>"
password = "<password>"
```
Expand Down
Loading

0 comments on commit 1c8ca09

Please sign in to comment.