Skip to content

Releases: hellhub-collective/cli

v1.4.0

18 Apr 10:31
ad65dba
Compare
Choose a tag to compare

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:

health command output example


Full Changelog: v1.3.0...v1.4.0

v1.3.0

17 Apr 14:19
c5277ee
Compare
Choose a tag to compare

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"
  }
 }
]

Full Changelog: v1.2.6...v1.3.0

v1.2.6

15 Apr 13:03
7d35423
Compare
Choose a tag to compare

What's Changed

This release fixes the additional text displayed at the bottom for the help command or the --help flag.


Full Changelog: v1.2.5...v1.2.6

v1.2.5

15 Apr 09:35
44c608b
Compare
Choose a tag to compare

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

15 Apr 06:49
a0493d1
Compare
Choose a tag to compare

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 with process.argv for node compatibility by @fabio-nettis in #12

Full Changelog: v1.2.3...v1.2.4

v1.2.3

15 Apr 06:33
e583030
Compare
Choose a tag to compare

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

15 Apr 06:18
b06be5b
Compare
Choose a tag to compare

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.


Full Changelog: v1.2.1...v1.2.2

v1.2.1

06 Apr 15:45
d7a0239
Compare
Choose a tag to compare

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

05 Apr 14:56
0f1da1d
Compare
Choose a tag to compare

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.

Full Changelog: v1.1.0...v1.2.0

v1.1.0

05 Apr 09:40
6fd2305
Compare
Choose a tag to compare

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>

Full Changelog: v1.0.1...v1.1.0