• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

CowDogMoo / bcp / 19992391879
53%

Build:
DEFAULT BRANCH: main
Ran 06 Dec 2025 06:17PM UTC
Jobs 1
Files 9
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

06 Dec 2025 06:15PM UTC coverage: 44.18%. First build
19992391879

push

github

web-flow
feat: add advanced CLI completion, validation, and config for robust SCP-like transfers (#3)

**Key Changes:**

- Added shell completion for buckets, instance IDs, and remote paths
- Implemented comprehensive input validation for source, SSM path, and bucket
- Introduced YAML-based configuration with logging and transfer tuning
- Added robust logging, error handling, and retry logic to file transfers
- Closes #1 
- Closes #2

**Added:**

- Shell completion commands (`completion [bash|zsh|fish|powershell]`) and context-aware argument completion for buckets and SSM instances (`cmd/completion.go`, `pkg/completion/aws.go`)
- `list` command to enumerate S3 buckets and EC2/SSM instances, with region and filtering options (`cmd/list.go`)
- YAML config support with example (`cmd/config/config.yaml`, `pkg/config/config.go`), including logging, AWS, and transfer sections
- Structured logging package (`pkg/logging/logging.go`) with JSON/text formats and log level control
- Input validation utilities for source path, SSM path, and bucket names (`pkg/validation/input.go`)
- Retry and exponential backoff for S3/SSM transfers in `pkg/transfer/transfer.go`
- Taskfile for build/test/dev automation (`Taskfile.yaml`)
- Pre-commit hooks for formatting, linting, licenses, and vulnerability checks (`.pre-commit-config.yaml`, `.hooks/*`)
- Extensive unit tests for all new components

**Changed:**

- Main command (`cmd/root.go`) refactored to use new config, validation, logging, and transfer logic
- Improved argument parsing, error messages, and user feedback in CLI
- Updated `.gitignore` to reflect modern Go and project artifacts
- README fully rewritten to document new features, usage, shell completions, and troubleshooting

**Removed:**

- Legacy or redundant pre-commit scripts (e.g., `.hooks/go-critic.sh`, `.hooks/linters/mdstyle.rb`)
- Deprecated markdownlint Ruby style, replaced with modern JSON configuration

324 of 738 new or added lines in 8 files covered. (43.9%)

334 of 756 relevant lines covered (44.18%)

2.34 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
92.86
cmd/completion.go
4
93.75
pkg/config/config.go
7
88.89
pkg/validation/input.go
11
85.14
pkg/logging/logging.go
19
58.7
pkg/completion/aws.go
84
32.58
cmd/root.go
140
6.04
cmd/list.go
148
29.86
pkg/transfer/transfer.go
Jobs
ID Job ID Ran Files Coverage
1 19992391879.1 06 Dec 2025 06:17PM UTC 9
44.18
GitHub Action Run
Source Files on build 19992391879
  • Tree
  • List 9
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • b82e28e6 on github
  • Next Build on main (#19992437356)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc