Skip to content

Commit

Permalink
attempt reconnect on connection fails. Add snames and surls commands
Browse files Browse the repository at this point in the history
  • Loading branch information
ColumPaget committed Apr 17, 2023
1 parent 6367256 commit ebd527d
Show file tree
Hide file tree
Showing 2 changed files with 125 additions and 147 deletions.
10 changes: 6 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,10 @@ Available commands are:
githuber.lua notify stars - list user's stars notifications
githuber.lua issues - list all open issues acrosss all user's repos
githuber.lua repo list - list user's repositories
githuber.lua repo names - list user's repositories, just the names
githuber.lua repo urls - list user's repositories, just the urls
githuber.lua repo names - list user's repositories, just the names on seperate lines
githuber.lua repo snames - list user's repositories, just the names seperated by spaces
githuber.lua repo urls - list user's repositories, just the urls on seperate lines
githuber.lua repo surls - list user's repositories, just the urls seperated by spaces
githuber.lua repo details - list user's repositories with traffic details
githuber.lua repo details [repo] - detailed info for a repository
githuber.lua repo new [name] [description] - create new repository
Expand Down Expand Up @@ -103,15 +105,15 @@ Available commands are:
```

The "repo names" and "repo urls" commands are intended for use in scripting. For instance, you can back up all your github repositories with a script like this:
The "repo names", "repo snames", "repo urls" and "repo surls" commands are intended for use in scripting. "repo names" and "repo urls" use newline as a separator (so one item per line) whereas "repo snames" and "repo surls" use space as a separator. For instance, you can back up all your github repositories with a script like this:

```
#!/bin/sh
mkdir GithubBackup
cd GithubBackup
for URL in `githuber.lua repo urls`
for URL in `githuber.lua repo surls`
do
git clone $URL
done
Expand Down
Loading

0 comments on commit ebd527d

Please sign in to comment.