Skip to content

Improve README.md documentation with comprehensive examples and better structure - #1

Merged
ziflex merged 2 commits into
mainfrom
copilot/fix-f990a6bf-b6b9-49f9-94c6-3fd3920958ff
Sep 1, 2025
Merged

ziflex merged 2 commits into
mainfrom
copilot/fix-f990a6bf-b6b9-49f9-94c6-3fd3920958ff

Conversation

Copilot AI commented Sep 1, 2025

Copy link
Copy Markdown
Contributor

This PR significantly improves the README.md documentation to make it more helpful and comprehensive for users.

Changes Made

Fixes

  • Fixed typo: Corrected "locahost" to "localhost" in the Quick start example
  • Fixed installation URL: Updated the install script URL from go-waitfor/waitfor to go-waitfor/cli repository

Enhancements

  • Added comprehensive description: Expanded the project description to better explain what waitfor does and its use cases
  • Added Use Cases section: Documents common scenarios like container orchestration, CI/CD pipelines, development workflows, and health checks
  • Added Supported Resource Types section: Clear documentation of all supported resource types (HTTP/HTTPS, PostgreSQL, MySQL, MongoDB, filesystem, process)
  • Expanded Quick start section: Added detailed examples for each resource type with practical use cases
  • Added Environment Variables section: Shows how to use environment variables instead of command-line flags
  • Added Configuration table: Clean table format showing all command-line options with defaults and environment variables
  • Improved structure: Better organization with logical flow from description → use cases → supported types → installation → examples → configuration

Examples Added

The README now includes practical examples for:

  • HTTP endpoint monitoring
  • Database connectivity (PostgreSQL, MySQL, MongoDB)
  • Filesystem monitoring (files and directories)
  • Process monitoring
  • Environment variable configuration
  • Multiple resource monitoring

These changes make the documentation much more user-friendly and provide clear guidance for different use cases without modifying any source code.


💬 Share your feedback on Copilot coding agent for the chance to win a $200 gift card! Click here to start the survey.

…r structure

Co-authored-by: ziflex <1607148+ziflex@users.noreply.github.com>
Copilot AI changed the title [WIP] Improve documentation in README.md Improve README.md documentation with comprehensive examples and better structure Sep 1, 2025
Copilot AI requested a review from ziflex September 1, 2025 00:30
@ziflex
ziflex marked this pull request as ready for review September 1, 2025 00:34
@ziflex
ziflex merged commit 6036021 into main Sep 1, 2025
2 checks passed
@ziflex
ziflex deleted the copilot/fix-f990a6bf-b6b9-49f9-94c6-3fd3920958ff branch September 1, 2025 00:35
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