Add nvpkg CLI for NovusPack package management#6
Merged
Conversation
e2e19bf to
ff3e041
Compare
- Run go-bdd job on main branch in go-bdd.yml - Add nvpkg-ci.yml for cli/nvpkg lint and test - Add nvpkg-release.yml for release build and artifact
…Directory - Update BDD step definitions to call public API instead of internals - Fix RemoveFilePattern and RemoveDirectory behavior - Add clean target to api/go Makefile - Update go.mod/go.sum as needed
- Add cli/nvpkg Go module with Cobra-based nvpkg binary - Commands: add, comment, create, extract, header, identity, info, list, metadata, read, remove, validate; interactive mode - Wire nvpkg into root Makefile: test-nvpkg, ci-nvpkg, lint-nvpkg, coverage, build, clean targets
- Add CLI section documenting nvpkg and dual modality (API + CLI) - Fix heading level for 2.1 Dual Modality
…est_heading - Add dist/ and **/dist to markdownlint ignore list - In validate_go_code_blocks suggest_heading, preserve heading kind word when suggesting fixes
ff3e041 to
cc6f517
Compare
- Dependabot: add github-actions, cli/nvpkg gomod, scripts pip; add labels - Workflows: checkout@v6, setup-node@v6, golangci-lint-action@v9 (version: latest) - api/go and cli/nvpkg Makefiles: run golangci-lint via 'go run' @ latest for CI/local sync - interactive.go: use := in if err assignment
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add nvpkg CLI for NovusPack package management
Summary
Introduces nvpkg, a Go CLI for creating, inspecting, and modifying NovusPack (
.nvpk) packages.The CLI lives under
cli/with a dedicatedcli/nvpkg/implementation and is wired into the root Makefile for build, test, lint, and CI.This PR also refactors API BDD steps to use the public API (with fixes to
RemoveFilePattern/RemoveDirectory), adds go-bdd on main and nvpkg CI/release workflows, and updates docs and lint tooling.Changes
New CLI: cli/nvpkg/
create,add,remove,list,read,header,info,extract,validate,comment,identity,metadata, and interactive mode.replaceingo.mod.make build/make build-nvpkg) with optional UPX; dev binarynvpkg-devviamake build-dev-nvpkg.make testandmake ci.Root integration
test-nvpkg,ci-nvpkg,lint-nvpkg,coverage-nvpkg,build-nvpkg,build-dev-nvpkg,clean-nvpkg;test,ci,lint, andcoveragenow include nvpkg.cli/; nvpkg CI badge and link; heading level fix for 2.1 Dual Modality.Docs and layout
API and BDD
RemoveFilePatternandRemoveDirectorybehavior; minor change inpackage_file_management.goto support CLI usage.cleantarget;go.mod/go.sumupdated as needed.Lint and tooling
dist/and**/dist.suggest_headingfixes.Testing
make test(includesmake test-nvpkg)make ci(includesmake ci-nvpkg)make bdd/make bdd-ci(BDD tests)cli/nvpkg/:make test,make ci, and script-driven checks (add/list/read, create, header/info, remove, validate)Checklist