orhun / halp

A CLI tool to get help with CLI tools 🐙
https://halp.cli.rs/
Apache License 2.0
699 stars 10 forks source link

feat(command): add timeout for terminating process #227

Closed orhun closed 2 months ago

orhun commented 2 months ago

Description

This PR adds a new command line argument (--timeout) for terminating the process if it is running more than 5 seconds.

Motivation and Context

closes #213

How Has This Been Tested?

Locally

Types of Changes

Checklist:

codecov-commenter commented 2 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 75.99%. Comparing base (9bbcd73) to head (0ec4c0b).

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #227 +/- ## ========================================== + Coverage 75.41% 75.99% +0.58% ========================================== Files 16 16 Lines 671 687 +16 ========================================== + Hits 506 522 +16 Misses 165 165 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.