Releases: hellhub-collective/cli
v1.4.0
What's Changed
This release adds the health
command that prints information about the current state of the cron job that is responsible for pulling data from Arrowhead's API. Here is the output:
- feat: add cron job health command by @fabio-nettis in #17
Full Changelog: v1.3.0...v1.4.0
v1.3.0
What's Changed
This release improves the handling of CLI queries containing the --raw
flag to output the result as is. Two points have been optimized in particular:
-
Instead of a POJO, raw JSON is now outputted, so it can be piped into a file and be consumed by other scripts. This also means that there is no longer a depth limit for the output.
-
We added a
--pretty
flag that can be used in combination with--raw
to indent and properly space out the printed json.
Example of a pretty print result
hellhub planets --include="sector" --filters="name:@contains:creek" --raw --pretty
This will be the output generated by the CLI:
[
{
"id": 197,
"index": 196,
// ... (properties ommited)
"sector": {
"id": 42,
"index": 42,
"name": "Severin",
"createdAt": "2024-04-17T09:36:06.069Z",
"updatedAt": "2024-04-17T13:57:02.665Z"
}
}
]
- refractor: replace bundlephobia badge with bundlejs by @fabio-nettis in #15
- feat: provide better raw output handling by @fabio-nettis in #16
Full Changelog: v1.2.6...v1.3.0
v1.2.6
What's Changed
This release fixes the additional text displayed at the bottom for the help
command or the --help
flag.
- fix: correctly replace url value by @fabio-nettis in #14
Full Changelog: v1.2.5...v1.2.6
v1.2.5
What's Changed
This release optimizes the package description and adds a link to the API repository when calling the help
command or providing the --help
flag.
- refractor: optimize package description and help command by @fabio-nettis in #13
Full Changelog: v1.2.4...v1.2.5
v1.2.4
What's Changed
This release fixes #6. The CLI now should be usable by bun and node by replacing Bun.argv
with process.argv
.
- fix: replace
Bun.argv
withprocess.argv
for node compatibility by @fabio-nettis in #12
Full Changelog: v1.2.3...v1.2.4
v1.2.3
What's Changed
This release fixes #6. The CLI now should be usable by bun and node Provide a less discriminating shebang directive at the top of the index script.
Actual fix
Version 1.2.4 actually fixes the issue that should have been resolved by this version.
- fix: add node env shebang for cross package-manager compatibility by @fabio-nettis in #11
Full Changelog: v1.2.2...v1.2.3
v1.2.2
What's Changed
This release fixes usage issues described in #7.
Missing ASCII art 📃
Moved all ascii art to supabase and downloading it when necessary.
- fix: resolve usage issues when published to npm by @fabio-nettis in #10
Full Changelog: v1.2.1...v1.2.2
v1.2.1
What's Changed
This release fixes an issue that was caused by missing asii art files on some configurations.
- fix: potential fix for textfile path issues (#7) by @jeffgca in #8
- chore(release): bump package version to v1.2.1 by @fabio-nettis in #9
New Contributors
Full Changelog: v1.2.0...v1.2.1
v1.2.0
What's Changed
This release expands the planets
command to include liberation details like the following, we utilize the new fields published inside the api via this pull request.
Rate
: The liberation rate in percent per hour.Liberation
: The percentage of the planet currently liberated.Prediction
: If the outcome of the battle will be a win, draw or loss.
- feat: add details for current liberation progress by @fabio-nettis in #5
Full Changelog: v1.1.0...v1.2.0
v1.1.0
What's Changed
This release adds two new distinct flags for each command and some general refractoring to improve the overall code quality of the package.
Watcher Mode 👁️
Watches the source data and updates the output based on the specified interval. Allows monitoring the source data without the need to manually run the command each time.
-w, --watch <interval>
No Ascii Mode 🔣
Disables the ascii art headers. If you are using the output in a script or a log file you can also use the --raw
flag to receive json output.
-a, --no-ascii <interval>
- feat: add watcher and no-ascii modes by @fabio-nettis in #3
Full Changelog: v1.0.1...v1.1.0