Add .gitignore & Fix undefined func

This commit is contained in:
2025-12-01 16:14:56 +08:00
parent 2ace98388d
commit b76f948fef
2 changed files with 30 additions and 1 deletions

29
.gitignore vendored Normal file
View File

@@ -0,0 +1,29 @@
# Binaries for programs and plugins
*.exe
*.exe~
*.dll
*.so
*.dylib
# Test binary, built with `go test -c`
*.test
# Code coverage profiles and other test artifacts
*.out
coverage.*
*.coverprofile
profile.cov
# Dependency directories
vendor/
# Go workspace file
go.work
go.work.sum
# env file
.env
# Editor/IDE
.idea/
.vscode/

View File

@@ -56,6 +56,6 @@ func main() {
// Default to 'pack' command if no command is provided
println("No command provided. Defaulting to 'pack' command...")
// Actual packing logic would go here
mainPack(args, usage)
mainPack(args, printHelp)
}
}