Skip to content

Commit

Permalink
Release v3.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
akgondber committed Dec 25, 2023
1 parent 9e24087 commit 9ca2c34
Show file tree
Hide file tree
Showing 17 changed files with 271 additions and 85 deletions.
Binary file modified media/demo.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified media/demo.mp4
Binary file not shown.
Binary file modified media/git-booster-cli-screenshot-all-blocks.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed media/git-booster-cli-screenshot-main-blocks.png
Binary file not shown.
Binary file modified media/git-booster-cli-screenshot-only-block.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added media/git-booster-cli-with-specified-tags.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "git-booster-cli",
"description": "Improve your git workflow with customizable and runnable blocks",
"version": "2.0.0",
"version": "3.0.0",
"repository": "https://github.com/akgondber/git-booster-cli",
"license": "MIT",
"bin": {
Expand Down Expand Up @@ -63,6 +63,7 @@
"ts": "module",
"tsx": "module"
},
"timeout": "5m",
"nodeArguments": [
"--loader=ts-node/esm"
]
Expand Down
16 changes: 8 additions & 8 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ $ git-booster-cli --help
$ git-booster-cli
Options
--all, -a Display all available blocks
--all, -a Display all available blocks (default behaviour)
--only, -o Display only specified block
--compound, -c Display only blocks with multiple command sets
--short-statuses, -s Use short status notations for change types
Expand All @@ -39,29 +39,29 @@ $ git-booster-cli --help

## Screenshots

Launched app with main blocks
Launched app with all blocks

```
git-booster-cli --all
git-booster-cli
```

![main-blocks](media/git-booster-cli-screenshot-main-blocks.png)
![all-blocks](media/git-booster-cli-screenshot-main-blocks.png)

Launched app with all blocks
Launched app blocks with specified tags

```
git-booster-cli --all
git-booster-cli --tag "add,commit,rebase"
```

![runnable-blocks](media/git-booster-cli-screenshot-all-blocks.png)
![tagged-blocks](media/git-booster-cli-with-specified-tags.png)

Launched app with single block by name

```
git-booster-cli --only add-commit-push
```

![runnable-blocks](media/git-booster-cli-screenshot-only-block.png)
![only-block](media/git-booster-cli-screenshot-only-block.png)

## License

Expand Down
10 changes: 5 additions & 5 deletions source/app-utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,8 @@ const collectParameterizedItems = (
) =>
R.map(
(argItem: RequestedArgItem) => `--${argItem.name}`,
R.filter(
argItem =>
R.filter(argItem => {
return (
R.has('mapToParam', argItem) &&
R.pathSatisfies(
toBoolean,
Expand All @@ -78,9 +78,9 @@ const collectParameterizedItems = (
]
: [R.propOr('', 'name', currentCommand), 0, argItem.name],
states,
),
requestedArgs,
),
)
);
}, requestedArgs),
);

const argToPath = (arg: RequestedArgItem): string[] => {
Expand Down
Loading

0 comments on commit 9ca2c34

Please sign in to comment.