Skip to content

Commit

Permalink
Merge pull request #101 from deinsoftware/dev
Browse files Browse the repository at this point in the history
docs: 📝 update open alias documentation
  • Loading branch information
equiman authored Dec 26, 2023
2 parents 2f773ba + 225d72a commit b9ea0af
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 21 deletions.
1 change: 1 addition & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"cSpell.words": [
"antfu",
"bitbucket",
"bun",
"bunx",
Expand Down
42 changes: 21 additions & 21 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -594,38 +594,38 @@ Quick and short aliases for `swpm` and `swpx` commands.

| Alias | `soe [path]` |
| --------------- | ----------------------------- |
| **soe** | `swpm open --explorer` |
| **soe [path]** | `swpm open --explorer [path]` |
| `soe` | `swpm open --explorer` |
| `soe [path]` | `swpm open --explorer [path]` |

### sg<?> (open git)

| Alias | Command |
| ------ | -------------------------- |
| `sgr` | `swpm open --git-repo` |
| `sgb` | `swpm open --git-branch` |
| `sgp` | `swpm open --git-pipeline` |
| `sgm` | `swpm open --git-merge` |
| Alias | Command | GitHub | GitLab | Bitbucket |
| ------ | -------------------------- | --------- | ---------------- | --------------- |
| `sgr` | `swpm open --git-repo` | | | |
| `sgb` | `swpm open --git-branch` | | | |
| `sgp` | `swpm open --git-pipeline` | `actions` | `pipelines` | `pipelines` |
| `sgm` | `swpm open --git-merge` | `pulls` | `merge_requests` | `pull-requests` |

### sgd (open git-diff)

| Alias | `sgd [branch]` |
| ----------------- | ------------------------------- |
| **sgd** | `swpm open --git-diff` |
| **sgd [branch]** | `swpm open --git-diff [branch]` |
| Alias | `sgd [branch]` |
| --------------- | ------------------------------- |
| `sgd` | `swpm open --git-diff` |
| `sgd [branch]` | `swpm open --git-diff [branch]` |

### soc (open coverage)

| Alias | `soc [fileName]` |
| --------------- | --------------------------------- |
| **soc** | `swpm open --coverage` |
| **soc [path]** | `swpm open --coverage [fileName]` |
| Alias | `soc [fileName]` |
| ------------- | --------------------------------- |
| `soc` | `swpm open --coverage` |
| `soc [path]` | `swpm open --coverage [fileName]` |

### son (open npm package)

| Alias | `son [package]` |
| ------------------ | --------------------------- |
| **son** | `swpm open --npm` |
| **son [package]** | `swpm open --npm [package]` |
| Alias | `son [package]` |
| ---------------- | --------------------------- |
| `son` | `swpm open --npm` |
| `son [package]` | `swpm open --npm [package]` |

### sc<?> (clean)

Expand Down Expand Up @@ -765,7 +765,7 @@ Create an `SWPM` environment variable with one of this values `<npm|yarn[@berry]

`swpm` and `swpx` search some characteristics following this order.

| Icon | Stage |
| Icon | Stage |
| :--: | ------------------------------------------------------------ |
| 📌 | Search the `swpm` property pinned on `package.json` file |
| 📦 | Search the `packageManager` property on `package.json` file |
Expand Down

0 comments on commit b9ea0af

Please sign in to comment.