Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CLI v2 first alpha #110

Merged
merged 9 commits into from
Oct 22, 2024
Merged

CLI v2 first alpha #110

merged 9 commits into from
Oct 22, 2024

Conversation

tuler
Copy link
Member

@tuler tuler commented Oct 22, 2024

No description provided.

@tuler tuler requested a review from endersonmaia October 22, 2024 16:49
Copy link

changeset-bot bot commented Oct 22, 2024

🦋 Changeset detected

Latest commit: 4345c4d

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

This PR includes changesets to release 1 package
Name Type
@cartesi/cli Major

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

Copy link
Contributor

github-actions bot commented Oct 22, 2024

Coverage Report for ./apps/cli

Status Category Percentage Covered / Total
🔵 Lines 30.54% 289 / 946
🔵 Statements 30.68% 294 / 958
🔵 Functions 37.41% 52 / 139
🔵 Branches 26.95% 117 / 434
File Coverage
File Stmts % Branch % Funcs % Lines Uncovered Lines
Changed Files
apps/cli/src/baseCommand.ts 0% 0% 0% 0% 40-50, 54, 58-60, 65-71, 67-70, 69, 72, 76, 81, 85, 88-112, 114, 118-127
apps/cli/src/config.ts 85.71% 75.82% 96.87% 85.45% 67-68, 178, 228, 235, 244, 259-261, 260, 262, 271, 273, 282, 284, 293, 297, 329, 331, 339, 341-346, 343, 345, 357, 383, 463-470
apps/cli/src/machine.ts 0% 0% 0% 0% 4-19, 5-10, 9, 11-13, 12, 14-16, 15, 18, 21-112, 26, 37, 40-41, 41, 44-53, 46-48, 47, 50-52, 51, 56-58, 57, 62-63, 65-67, 66, 69-71, 70, 74-84, 83, 85-87, 86, 88-90, 89, 91-93, 92, 94-96, 95, 97-99, 98, 100-102, 101, 103-105, 104, 107-111
apps/cli/src/builder/directory.ts 100% 100% 100% 100%
apps/cli/src/builder/docker.ts 91.42% 78.57% 75% 94.11% 38, 122-128
apps/cli/src/builder/empty.ts 100% 100% 100% 100%
apps/cli/src/builder/none.ts 100% 100% 100% 100%
apps/cli/src/builder/tar.ts 100% 100% 100% 100%
apps/cli/src/commands/build.ts 0% 0% 0% 0% 16-39, 22-38, 24, 27, 30, 33, 36, 42, 44-45, 47, 49-59, 62, 65, 68, 71, 74, 77-82, 80-81, 85, 87-90, 89, 93-94, 97, 100, 102
apps/cli/src/commands/shell.ts 0% 0% 0% 0% 9, 11, 13-18, 20-36, 39, 42, 45, 48-56, 49-55, 52-54, 59-64, 67, 70, 73, 76, 79
apps/cli/src/exec/cartesi-machine.ts 75% 50% 50% 75% 14, 31, 33
apps/cli/src/exec/crane.ts 88.88% 50% 100% 88.88% 25
apps/cli/src/exec/genext2fs.ts 95.83% 62.5% 100% 95.65% 89
apps/cli/src/exec/mksquashfs.ts 85.71% 62.5% 100% 85% 69-70, 72
apps/cli/src/exec/util.ts 79.41% 77.27% 100% 79.41% 53, 56, 104-108, 112-113, 116
Generated in workflow #201 for commit 4345c4d by the Vitest Coverage Report Action

@tuler tuler changed the title CLI first alpha CLI v2 first alpha Oct 22, 2024
@tuler tuler added the v2 label Oct 22, 2024
apps/cli/src/config.ts Outdated Show resolved Hide resolved
apps/cli/test/configs/full.toml Outdated Show resolved Hide resolved
@tuler tuler requested a review from endersonmaia October 22, 2024 18:05
@tuler tuler merged commit ca4e0a9 into prerelease/v2-alpha Oct 22, 2024
4 checks passed
@tuler tuler deleted the feature/cli-v2 branch October 22, 2024 18:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants