JakeWharton / JakeWharton/pidcat

Allow input from stdin

Open
#146 6 comments 1 reaction 0 assignees View on GitHub
Dominant language
Python
Stars
5k
Forks
517
PR merge metrics
No merged PRs in 30d

Description

**Feature request**

Device logs don't always come directly from ADB. It would be nice to be able to pass in a previously-acquired log for formatting.

Example possible usage:

* taking input from stdin:
```
pidcat < ~/Desktop/logs/crash_dump.txt
```

* taking input as an argument:
```
pidcat -l ~/Desktop/logs/crash_dump.txt
```

Contributor guide

No contributing guide indexed for this repository

Research direction

Start at pidcat's command-line input handling and trace how log data currently comes from ADB. Support both stdin redirection and the proposed -l ~/Desktop/logs/crash_dump.txt argument, then verify that previously acquired logs are formatted as expected.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
cli
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.