Skip to content

Commit

Permalink
docs: Add wdid example
Browse files Browse the repository at this point in the history
  • Loading branch information
NoUseFreak committed Jan 1, 2024
1 parent a5d56ab commit b95731d
Showing 1 changed file with 21 additions and 8 deletions.
29 changes: 21 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,26 @@ projecthelper install

## Commands

| command | description |
| ------------------------------------------------------ | --------------------------------------------------------- |
| `ph setup` | Run setup (manages `.config/projecthelper/config.yaml` |
| `ph clone https://github.com/nousefreak/projecthelper` | Clone to `${basedir}/github.com/nousefreak/projecthelper` |
| `ph org github.com/nousefreak` | Clones all repos (set `GITHUB_TOKEN` to include private) |
| `ph go [search]` | Open a fuzzyfinder that will `cd` to the repo |
| `ph [search]` | Shorthand for `ph go` |
| `ph update` | Run a `git fetch` on all repos |
```bash
# Run setup (manages `.config/projecthelper/config.yaml`
ph setup

# Clone to `${basedir}/github.com/nousefreak/projecthelper`
ph clone https://github.com/nousefreak/projecthelper`
# Clones all repos (set `GITHUB_TOKEN` to include private)
ph org github.com/nousefreak`

# Open a fuzzyfinder that will `cd` to the repo
ph go [search]`
# Shorthand for `ph go`
ph [search]`

# Run a `git fetch` on all repos
ph update`
# Show commits made to any repository in the last 2 days
ph wdid 2 days
```

0 comments on commit b95731d

Please sign in to comment.