Skip to content

feat(boss): add new command to scaffold project and package templates (issue #67)#254

Open
isaquepinheiro wants to merge 2 commits into
HashLoad:mainfrom
isaquepinheiro:feature/issue-67-boss-new
Open

feat(boss): add new command to scaffold project and package templates (issue #67)#254
isaquepinheiro wants to merge 2 commits into
HashLoad:mainfrom
isaquepinheiro:feature/issue-67-boss-new

Conversation

@isaquepinheiro

Copy link
Copy Markdown
Contributor

This PR adds the boss new command to generate clean skeleton templates for packages and projects directly from the CLI.

@HashLoad HashLoad deleted a comment from codecov-commenter Jul 7, 2026
golangci-lint: goconst (repeated '1.0.0' and 'app' strings),
gosec G306 (WriteFile permissions 0644 → 0600)

- Extract defaultPackageVersion, projectTypeApp, projectTypePkg constants
- Use constants in new.go, init.go, and new_test.go
- Change os.WriteFile permissions from 0644 to 0600
@codecov-commenter

Copy link
Copy Markdown

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

❌ Patch coverage is 53.24675% with 36 lines in your changes missing coverage. Please review.
⚠️ Please upload report for BASE (main@0f2a917). Learn more about missing BASE report.

Files with missing lines Patch % Lines
internal/adapters/primary/cli/new.go 55.40% 18 Missing and 15 partials ⚠️
internal/adapters/primary/cli/init.go 0.00% 2 Missing ⚠️
internal/adapters/primary/cli/root.go 0.00% 1 Missing ⚠️
❗ Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@           Coverage Diff           @@
##             main     #254   +/-   ##
=======================================
  Coverage        ?   26.04%           
=======================================
  Files           ?       83           
  Lines           ?     3920           
  Branches        ?        0           
=======================================
  Hits            ?     1021           
  Misses          ?     2810           
  Partials        ?       89           
Flag Coverage Δ
unittests 26.04% <53.24%> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

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.

3 participants