infinit-xyz / infinit-cli

3 stars 3 forks source link

feat(script): select script file #13

Closed Pitchanai closed 1 day ago

Pitchanai commented 2 days ago

Add prompt to select a script file when executing the script without file argument.

Screenshot:

Screenshot 2024-09-23 at 12 18 06 Screenshot 2024-09-23 at 12 21 42
changeset-bot[bot] commented 2 days ago

🦋 Changeset detected

Latest commit: a3b3f6a4575c99c2cd1d0f4d17cc899ec0fe4ae9

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package | Name | Type | | ---------------- | ----- | | @infinit-xyz/cli | Patch |

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

codecov[bot] commented 1 day ago

Codecov Report

Attention: Patch coverage is 72.72727% with 9 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
src/commands/script/execute/index.ts 66.66% 5 Missing :warning:
src/index.ts 0.00% 4 Missing :warning:
Files with missing lines Coverage Δ
src/classes/Cache/Cache.ts 79.47% <100.00%> (+0.27%) :arrow_up:
src/classes/Cache/__mocks__/Cache.ts 100.00% <100.00%> (+11.11%) :arrow_up:
src/commands/script/execute/index.prompt.ts 100.00% <100.00%> (ø)
src/index.ts 0.00% <0.00%> (ø)
src/commands/script/execute/index.ts 43.26% <66.66%> (+3.47%) :arrow_up: