Skip to content

refactor: extract file and stdin reading into separate functions#5

Merged
supitsdu merged 3 commits intomainfrom
feature
Jun 2, 2024
Merged

refactor: extract file and stdin reading into separate functions#5
supitsdu merged 3 commits intomainfrom
feature

Conversation

@supitsdu
Copy link
Copy Markdown
Owner

@supitsdu supitsdu commented Jun 2, 2024

  • Extracted readFromFile and readFromStdin into separate functions.

supitsdu added 2 commits June 2, 2024 11:51
- Extracted `readFromFile` and `readFromStdin` into separate functions.
- Added tests for `copyToClipboard`, `readFromStdin`, and `readFromFile`.
- Added a test for copying text directly from command line argument.
- Ensured tests cover the main functionality and edge cases.
@supitsdu supitsdu added the enhancement New feature requests or enhancements. label Jun 2, 2024
@supitsdu supitsdu merged commit 1187ccf into main Jun 2, 2024
@supitsdu supitsdu deleted the feature branch June 2, 2024 15:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature requests or enhancements.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant