You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+69-56
Original file line number
Diff line number
Diff line change
@@ -8,9 +8,9 @@
8
8
9
9
## Automated GitHub Issues Reporting
10
10
11
-
Snitch is a terminal utility that automates the reporting of GitHub repository issues via interactive and informative reports in both markdown and plain text.
11
+
Snitch is a terminal-based utility that automates the creation of interactive and informative reports in both markdown and text for the reporting of GitHub repository issues.

14
14
15
15
⚠️ This project was formerly named _ghif_ but as of v2 has diverged significantly enough from that codebase to warrant rebranding while maintaining all its previous git history.
16
16
@@ -28,29 +28,31 @@ To install Snitch with NPM, please run the following command in your terminal:
28
28
29
29
| Report Name | Description | Example |
30
30
| :-- | :-- | :-- |
31
+
| assignee | a list of issues by assignee |`> snitch --name=assignee > snitch-report.md`|
32
+
| label | a list of issues by label |`> snitch --name=label > snitch-report.md`|
31
33
| list | a list of issues |`> snitch --name=list > snitch-report.md`|
32
34
| milestone | a list of issues by milestone |`> snitch --name=milestone > snitch-report.md`|
33
35
| milestone-label | a list of issues by milestone and label |`> snitch --name=milestone-label > snitch-report.md`|
34
-
| label | a list of issues by label |`> snitch --name=label > snitch-report.md`|
35
-
| assignee | a list of issues by assignee |`> snitch --name=assignee > snitch-report.md`|
36
36
37
37
## Options
38
38
39
39
| Option | Description | Default (if omitted)| Example |
40
40
| :-- | :-- | :-- | :-- |
41
-
| --as-text | output report as plain text | output report as markdown |`--as-text`|
42
-
| --repo=[path to repository]| path to Github repository | the GitHub repository associated with the current project determined by git remote origin |`--repo=4awpawz/snitch`|
43
-
| --state=[all \| open \| closed]| limit reporting to issues with this state | all |`--state=closed`|
41
+
| --as-text (v3.0.0)| output report as plain text | output report as markdown |`--as-text`|
42
+
| --blank-lines (v3.0.0) | seperate issues with a blank line | no seperating blank line |`--blank-lines`|
43
+
| --debug | run in debug mode, see [below](#debug-mode) for details| run in normal mode |`--debug`|
44
+
| --heading=[report heading]| the heading for the report | repository name |`--heading=CHANGELOG`|
44
45
| --max-issues=integer | maximum number of issues to report on | 10000 |`--max-issues=100000`|
45
46
| --name=[list \| milestone \| milestone-label \| label \| assignee]| name of report to generate | list |`--name=milestone-label`|
46
-
| --heading=[report heading]|the heading for the report | repository name|`--heading=CHANGELOG`|
47
+
| --no-heading (v3.0.0)|omit heading | include heading|`--no-heading`|
47
48
| --non-interactive | for markdown reports only, generate non interactive issues | generate interactive issues |`--non-interactive`|
48
-
| --no-attribution | attribution is not appended to the report | attribution is appended to the report |`--no-attribution`|
49
-
| --debug | run in debug mode, see [below](#debug-mode) for details| run in normal mode |`--debug`|
49
+
| --no-attribution | attribution is jnot appended to the report | attribution is appended to the report |`--no-attribution`|
50
+
| --repo=[path to repository]| path to Github repository | the GitHub repository associated with the current project determined by git remote origin |`--repo=4awpawz/snitch`|
51
+
| --state=[all \| open \| closed]| limit reporting to issues with this state | all |`--state=closed`|
50
52
51
53
## Saving output to a file
52
54
53
-
Use redirection to save report output to a file:
55
+
Use redirection (i.e., `>`) to save output to a file:
54
56
55
57
```shell
56
58
> snitch --name=list > list.md
@@ -63,81 +65,92 @@ You can run Snitch in __debug mode__ to expose the dynamically generated configu
63
65
To invoke debug mode, append `--debug` to the command line that you would use to generate your desired report, such as the __list report__ in the command below:
When generating a report other than the list report you might see a warning message like the one below. It is informing you that some issues were excluded from the report because they didn't meet the report's requirements. For example, if you generate a milestone report and there are issues that haven't been assigned a milestone then those issues will be excluded from the report.
0 commit comments