Skip to content

Conversation

@okineadev
Copy link
Member

No description provided.

okineadev and others added 3 commits November 19, 2024 07:02
Add `--about` flag to filter tips based on a specified keyword.

* Add a new case for the `--about` flag in the command-line options parsing section in `cli-tips.sh` to handle the `--about` flag and extract the keyword.
* Filter the `tips` array to include only those tips that contain the specified keyword.
* If no tips contain the specified keyword, do not print any tip.
* Update the `show_help` function in `cli-tips.sh` to include information about the `--about` flag.
* Add a section in `README.md` explaining how to use the `--about` flag.

---

For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/cli-stuff/cli-tips?shareId=XXXX-XXXX-XXXX-XXXX).
…g the language flags.

* Added checks to ensure that a language is specified when using the `-l` or `--language` flags.
* Introduced error messages and exit conditions for cases where no language is provided.
* Refactored the language assignment logic to improve clarity and maintainability.
@okineadev okineadev merged commit b6d91ef into main Nov 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants