Skip to content

Commit

Permalink
Merge pull request #1129 from rsteube/macros-badge
Browse files Browse the repository at this point in the history
added macros badge
  • Loading branch information
rsteube authored May 12, 2022
2 parents 9cef6ee + 8ad44f9 commit b130e70
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/macros-badge.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/bin/sh

scriptdir=$(dirname $(readlink -f $0))

curl "https://img.shields.io/badge/macros-$($scriptdir/../cmd/carapace/carapace --macros | wc -l)-orange"
1 change: 1 addition & 0 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ jobs:
sh .github/macros.sh > docs/src/specs/macros.md
mdbook build docs
sh .github/badge.sh > docs/book/badge.svg
sh .github/macros-badge.sh > docs/book/macros-badge.svg
- name: "push gh-pages"
if: github.ref == 'refs/heads/master'
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
[![GoReportCard](https://goreportcard.com/badge/github.com/rsteube/carapace-bin)](https://goreportcard.com/report/github.com/rsteube/carapace-bin)
[![documentation](https://img.shields.io/badge/‌-documentation-blue?logo=gitbook)](https://rsteube.github.io/carapace-bin/)
[![Completers](https://rsteube.github.io/carapace-bin/badge.svg)](https://rsteube.github.io/carapace-bin/completers.html)
[![Macros](https://rsteube.github.io/carapace-bin/macros-badge.svg)](https://rsteube.github.io/carapace-bin/specs/macros.html)

Carapace-bin provides argument completions for many CLI commands: [see the full list here](https://rsteube.github.io/carapace-bin/completers.html), and works across many POSIX and non-POSIX shells.
This multi-shell multi-command argument completer is based on [rsteube/carapace](https://github.com/rsteube/carapace).
Expand Down

0 comments on commit b130e70

Please sign in to comment.