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

sschmid / pw-terminal-password-manager / 15070440417

16 May 2025 01:51PM UTC coverage: 87.473% (-0.3%) from 87.778%
15070440417

push

github

sschmid
Print supported clipboard tools in error message

2 of 11 new or added lines in 2 files covered. (18.18%)

22 existing lines in 4 files now uncovered.

398 of 455 relevant lines covered (87.47%)

419.88 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

33.33
/src/paste
1
#!/usr/bin/env bash
2
set -euo pipefail
30✔
3
IFS=$'\n\t'
30✔
4

5
if   command -v pbpaste  &>/dev/null; then pbpaste
60✔
NEW
6
elif command -v xclip    &>/dev/null; then xclip -selection clipboard -o
×
NEW
7
elif command -v xsel     &>/dev/null; then xsel --clipboard --output
×
UNCOV
8
elif command -v wl-paste &>/dev/null; then wl-paste
×
9
else
NEW
10
  echo "No clipboard tool found!" >&2
×
NEW
11
  echo "Supported tools: pbpaste, xclip, xsel, wl-paste" >&2
×
UNCOV
12
  exit 1
×
13
fi
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