Skip to content

Commit

Permalink
docs: showing language filter flag
Browse files Browse the repository at this point in the history
  • Loading branch information
azemetre committed Jun 4, 2023
1 parent 640ce0b commit f898ce2
Show file tree
Hide file tree
Showing 3 changed files with 59 additions and 1 deletion.
46 changes: 45 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -324,6 +324,50 @@ and create a `repos.json` file:

![running piscator cast azemetre -x](./docs/cast-file.gif)

---

Running `piscator cast username --language=rust,lua` will output a JSON of
public repositories filtered by the languages you provide (comma separated) for
a user:

![running piscator cast azemetre -l rust,lua](./docs/cast-lang.gif)

<details>
<summary>example output of `piscator cast azemetre -l rust,lua`</summary>

```text
[
{
"name": "dotfiles",
"html_url": "https://github.com/azemetre/dotfiles",
"language": "Lua",
"fork": false,
"private": false,
"size": 2756
},
{
"name": "hipster.nvim",
"html_url": "https://github.com/azemetre/hipster.nvim",
"language": "Lua",
"fork": false,
"private": false,
"size": 1446
},
{
"name": "rust-solutions",
"html_url": "https://github.com/azemetre/rust-solutions",
"language": "Rust",
"fork": false,
"private": false,
"size": 47234
}
]
```

</details>

---

### [reel](#reels)

**Please note:** `piscator reel` can take the same flags as `piscator cast`, so
Expand All @@ -337,7 +381,7 @@ their repositories:

## [Todos](#todos)

- [ ] add ability to filter by language
- [x] add ability to filter by language
- [x] flesh out readme
- [x] create vhs tapes
- [x] automate release binaries
Expand Down
Binary file added docs/cast-lang.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
14 changes: 14 additions & 0 deletions vhs/cast-lang.tape
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
Output docs/cast-lang.gif

Set WindowBar Colorful
Set Theme AdventureTime
Set PlaybackSpeed 0.5
Set FontSize 18
Set FontFamily "Hack"
Set Height 800
Set TypingSpeed 150ms

Type "piscator cast azemetre -l rust,lua"
Enter
Sleep 8s

0 comments on commit f898ce2

Please sign in to comment.