forked from quisquous/cactbot
-
Notifications
You must be signed in to change notification settings - Fork 45
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
util: new XIVAPI CLI query tool (#41)
Adds a new XIVAPI CLI query tool to util. It's a lightweight script that fetches endpoint data, filters it based on a user-specified filter string, and outputs it as JSON to the console. I put an early version of this together for looking into some of the data issues during the util script cleanup, and it was pretty helpful. It's grown a bit since. 👀 More info on usage available by running `npm run query -- -h`. Since it uses regex on user-supplied inputs, there's a lot of error handling needed to capture wonky user input. I *think* I've accounted for most of the possibilities, but open to anything I missed. Comments/suggestions welcome!
- Loading branch information
Showing
6 changed files
with
586 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.