mirror of
https://github.com/tiennm99/ghglance.git
synced 2026-10-11 03:13:20 +00:00
docs: show include_org_repos in the runnable examples
The input reached both reference tables but neither example, so anyone copying the workflow YAML or the CLI invocation would not learn the knob exists. Add it to the Action example with a note on when to flip it, and add a second CLI example alongside the existing one. Add CLAUDE.md recording the five surfaces a config knob has to reach — flag, action input, entrypoint translation, README tables *and* examples, architecture doc — since the examples are the step that got missed here. Also note the demo gallery's hardcoded card list and the GitHub API ceilings the fetch pipeline works around.
This commit is contained in:
1 parent
1ce59424b5
commit
9e0387f307
2 files changed
+59
No files matched your search
@@ -86,6 +86,7 @@ jobs:
|
||||
tz: Asia/Saigon
|
||||
include_forks: "true"
|
||||
include_private: "true"
|
||||
include_org_repos: "false" # "true" also counts org repos you administer (token needs read:org)
|
||||
commit_changes: "true"
|
||||
```
|
||||
|
||||
@@ -152,6 +153,12 @@ export GITHUB_TOKEN=ghp_xxx
|
||||
ghstats -user tiennm99 -themes dracula,github_dark -tz Asia/Saigon -out output
|
||||
```
|
||||
|
||||
Add `-include-org-repos` to also count org-owned repos you administer:
|
||||
|
||||
```sh
|
||||
ghstats -user tiennm99 -themes dracula -include-org-repos -out output
|
||||
```
|
||||
|
||||
| Flag | Default | Description |
|
||||
| ------------------- | --------------- | ---------------------------------------------------------------------- |
|
||||
| `-user` | *(required)* | GitHub username |
|
||||
|
||||
Reference in new issue
Block a user