Thanks for your interest in contributing! Here's how to get started.
git clone https://github.com/enthus-appdev/n8n-cli.git
cd n8n-cli
go build -ldflags "-X github.com/enthus-appdev/n8n-cli/internal/cmd.version=dev" -o bin/n8nctl ./cmd/n8nctl # Build
go test -v ./... # Run tests
golangci-lint run # Lint
go fmt ./... # Format codeRequires Go 1.25+ and golangci-lint.
- Fork the repository and create a feature branch from
main - Write your code and add tests where appropriate
- Run
golangci-lint run && go test -v ./...to ensure all checks pass - Commit with a clear message describing the change
- Open a pull request against
main
- Run
go fmt ./...before committing - Follow standard Go conventions
- Use cobra for new commands
Open a GitHub issue with:
- Steps to reproduce
- Expected vs actual behavior
- CLI version and OS
By contributing, you agree that your contributions will be licensed under the MIT License.