docs: update Skyscanner command syntax and examples in README - #209
Open
rajarshidattapy wants to merge 1 commit into
Open
docs: update Skyscanner command syntax and examples in README#209rajarshidattapy wants to merge 1 commit into
rajarshidattapy wants to merge 1 commit into
Conversation
Contributor
🟢 No documentation gap found — medium confidenceThe automated review found no documentation gap in the supplied changes. This review is advisory and does not block merging. |
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
The Commands table in
plugins/skyscanner/README.mddocumented the command as:skyscanner flights <origin> <destination>But
--depart-dateand--return-dateare both required (plugins/skyscanner/flights.js:169-170):Copying the table row as written fails with a missing-argument error.
This PR:
--limitas optional with its default of10(flights.js:171), so the row covers the full surface.--depart-date 2026-08-01, which is now in the past, so the one runnable line in the file no longer returned results. Replaced with clearly-future dates and a line telling readers to substitute their own.Closes #208
Type of Change
Checklist
Notes on the checklist:
plugins/skyscanner/webcmd-plugin.jsonis unchanged, so the generated community table in the rootREADME.mdandnpm run check-community-pluginsare unaffected.argsarray inplugins/skyscanner/flights.jsrather than by running the command, which needs a live browser session.Adapter Notes
CliErrorsubclasses instead of rawErrorThe last two do not apply — no adapter code changes here. The command's primary subjects (
origin,destination) are already positional, and error handling is untouched.Screenshots / Output
One file, +4 / -2:
+Both dates are required, and Skyscanner only returns results for dates in the future — substitute your own travel dates rather than copying these.