Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/essentialkaos/bibop
Utility for testing command-line tools, daemons, and packages
https://github.com/essentialkaos/bibop
bibop golang shell testing-tools
Last synced: 2 months ago
JSON representation
Utility for testing command-line tools, daemons, and packages
- Host: GitHub
- URL: https://github.com/essentialkaos/bibop
- Owner: essentialkaos
- License: apache-2.0
- Created: 2017-07-19T13:20:58.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2024-11-13T08:56:03.000Z (2 months ago)
- Last Synced: 2024-11-13T09:36:53.895Z (2 months ago)
- Topics: bibop, golang, shell, testing-tools
- Language: Go
- Homepage: https://kaos.sh/bibop
- Size: 1.09 MB
- Stars: 18
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: .github/CONTRIBUTING.md
- License: LICENSE
- Code of conduct: .github/CODE_OF_CONDUCT.md
- Security: SECURITY.md
Awesome Lists containing this project
README
Usage demo • Installation • Usage • CI Status • License
`bibop` is a utility for testing command-line tools, packages and daemons. Initially, this utility was created for testing packages from [ESSENTIAL KAOS Public Repository](https://kaos.sh/kaos-repo).
Information about bibop recipe syntax you can find in our [cookbook](COOKBOOK.md).
### Usage demo
https://github.com/essentialkaos/bibop/assets/182020/c63dc147-fa44-40df-92e2-12f530c411af
### Installation
#### From source
To build the `bibop` from scratch, make sure you have a working Go [1.22+](https://github.com/essentialkaos/.github/blob/master/GO-VERSION-SUPPORT.md) workspace ([instructions](https://go.dev/doc/install)), then:
```
go install github.com/essentialkaos/bibop@latest
```#### Prebuilt binaries
You can download prebuilt binaries for Linux from [EK Apps Repository](https://apps.kaos.st/bibop/latest).
To install the latest prebuilt version of bibop, do:
```bash
bash <(curl -fsSL https://apps.kaos.st/get) bibop
```### Docker support
Official webkaos images available on [GitHub Container Registry](https://kaos.sh/p/bibop) and [Docker Hub](http://kaos.sh/d/bibop). Install the latest version of Docker, then:
```bash
curl -fL# -o bibop-docker https://kaos.sh/bibop/bibop-docker
chmod +x bibop-docker
sudo mv bibop-docker /usr/bin/bibop-docker your.recipe your-package.rpm
# or
bibop-docker --image ghcr.io/essentialkaos/bibop:centos7 your.recipe your-package.rpm
```### Recipe syntax highlighting
* [Sublime Text 3/4](https://kaos.sh/blackhole-theme-sublime/bibop-recipe.sublime-syntax)
* [nano](https://kaos.sh/blackhole-theme-nano/bibop.nanorc)### Command-line completion
You can generate completion for `bash`, `zsh` or `fish` shell.
Bash:
```bash
sudo bibop --completion=bash 1> /etc/bash_completion.d/bibop
```ZSH:
```bash
sudo bibop --completion=zsh 1> /usr/share/zsh/site-functions/bibop
```Fish:
```bash
sudo bibop --completion=fish 1> /usr/share/fish/vendor_completions.d/bibop.fish
```### Man documentation
You can generate man page for bibop using next command:
```bash
bibop --generate-man | sudo gzip > /usr/share/man/man1/bibop.1.gz
```### Usage
### CI Status
| Branch | Status |
|------------|--------|
| `master` | [![CI](https://kaos.sh/w/bibop/ci-push.svg?branch=master)](https://kaos.sh/w/bibop/ci-push?query=branch:master) |
| `develop` | [![CI](https://kaos.sh/w/bibop/ci-push.svg?branch=develop)](https://kaos.sh/w/bibop/ci-push?query=branch:develop) |### License
[Apache License, Version 2.0](http://www.apache.org/licenses/LICENSE-2.0)