|
4 | 4 |
|
5 | 5 | <sup>1</sup> It's script-friendly too.
|
6 | 6 |
|
7 |
| - |
| 7 | + |
8 | 8 |
|
9 | 9 | > Above: Use `npx asari` in your shell to manage your work in GitHub.
|
10 | 10 |
|
11 | 11 | "Asari" (あさり) is [Japanese for "clam"](https://translate.google.com/#view=home&op=translate&sl=en&tl=ja&text=clam). Like a clam, `asari` is happiest when it's inside a shell.
|
12 | 12 |
|
13 | 13 | 🐚 `asari` lets you work with GitHub from your command line, and is delicious when lightly fried with garlic and spices.
|
14 | 14 |
|
15 |
| - |
| 15 | + |
16 | 16 |
|
17 | 17 | _Above: Running `npx asari` from your command line shows you the top level of options and commands._
|
18 | 18 |
|
19 |
| - |
| 19 | + |
20 | 20 |
|
21 |
| - |
| 21 | + |
| 22 | + |
| 23 | + |
| 24 | + |
| 25 | + |
22 | 26 |
|
23 |
| - |
24 | 27 |
|
25 | 28 | _Above: Running `npx asari <command>` shows you options for working with GitHub [issues](#working-with-github-issues), [projects](#working-with-github-projects) and [pull requests](#working-with-github-pull-requests)._
|
26 | 29 |
|
@@ -182,6 +185,26 @@ npx asari pulls open <github-url>
|
182 | 185 | # Set the state of an existing pull request to `open`.
|
183 | 186 | ```
|
184 | 187 |
|
| 188 | +### Working with GitHub Repositories |
| 189 | + |
| 190 | +```bash |
| 191 | +npx asari repos list-topics <github-url> |
| 192 | + |
| 193 | +# List all topics. |
| 194 | +``` |
| 195 | + |
| 196 | +```bash |
| 197 | +npx asari repos <add-topics|remove-topics> <github-url> --topic new-app |
| 198 | + |
| 199 | +# Add/Remove a topic |
| 200 | + |
| 201 | +npx asari repos <add-topics|remove-topics> <github-url> --topic new-app --topic good-one |
| 202 | +npx asari repos <add-topics|remove-topics> <github-url> --topics new-app,good-one |
| 203 | +npx asari repos <add-topics|remove-topics> <github-url> --topics "new-app, good-one" |
| 204 | + |
| 205 | +# Add/Remove multiple topics |
| 206 | +``` |
| 207 | + |
185 | 208 | ### Global Options
|
186 | 209 |
|
187 | 210 | ```bash
|
|
0 commit comments