cfdf515228
- .claude/CLAUDE.md - .claude/commands/subagentes.md - .claude/rules/INDEX.md - .mcp.json - bash/functions/cybersecurity/analyze_dns.md - bash/functions/cybersecurity/audit_http_headers.md - bash/functions/cybersecurity/audit_ssh_config.md - bash/functions/cybersecurity/check_firewall.md - bash/functions/cybersecurity/detect_suspicious_users.md - bash/functions/cybersecurity/encrypt_file.md - ... Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1.5 KiB
1.5 KiB
name, kind, lang, domain, version, purity, signature, description, tags, uses_functions, uses_types, returns, returns_optional, error_type, imports, params, output, tested, tests, test_file_path, file_path
| name | kind | lang | domain | version | purity | signature | description | tags | uses_functions | uses_types | returns | returns_optional | error_type | imports | params | output | tested | tests | test_file_path | file_path | ||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| android_pull | function | bash | infra | 1.0.0 | impure | android_pull [--serial <S>] remote_path local_path | Pull file/dir from Android device to WSL via adb pull. |
|
|
false | error_go_core |
|
Stdout 'pulled: <remote> → <local> from <serial>'. | false | bash/functions/infra/android_pull.sh |
Ejemplo
# Pull a single file (auto-detect device)
android_pull /sdcard/Pictures/foo.png ~/Downloads/foo.png
# Pull a directory to a specific local path with explicit serial
android_pull --serial emulator-5554 /sdcard/DCIM ~/Downloads/DCIM
Notas
Sources adb_wsl.sh for adb_pick_serial, ADB_PICK_REST, adb_wsl_to_win, and adb_s.
The local path is converted to a Windows path via adb_wsl_to_win before passing to adb pull,
which is required because adb.exe (Windows binary) does not understand WSL paths.
Exit code 3 when no device serial can be resolved.