Skip to content
forked from orhun/halp

A CLI tool to get help with CLI tools 🐙

License

Notifications You must be signed in to change notification settings

raffimolero/halp

Repository files navigation

A CLI tool to get help with CLI tools 🐙

Have you ever experienced this:

$ some_tool -v
unknown flag -v

$ some_tool -V
unknown flag -V

$ some_tool -h
unknown flag -h

$ asdjw1jwhdajh1idojad # frustration
bash: asdjw1jwhdajh1idojad: command not found

$ some_tool --help
Some CLI Tool Version 1.42.69
Usage:
  some_tool <flags> <args> [--parameter1 value1 --parameter2 value2 ...]

# f*cking finally!

halp aims to help with this and other different cases.

Installation

Docker

Images

Docker builds are automated and images are available in the following registries:

Usage

The following commands can be used to get help for a binary inside the container:

docker run --rm -it "orhunp/halp:${TAG:-latest}" whoami
docker run --rm -it "orhunp/halp:${TAG:-latest}" plz whoami

Or you can provide a custom binary as follows (please note that you might get shared library errors):

docker run -v "bin:/app/bin:rw" --rm -it "orhunp/halp:${TAG:-latest}" -v ./bin

Building

Custom Docker images can be built from the Dockerfile:

docker build -t halp .

Usage

Configuration

License

Licensed under either of Apache License, Version 2.0 or MIT license at your option.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in this program by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

About

A CLI tool to get help with CLI tools 🐙

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Rust 94.3%
  • Shell 3.0%
  • Dockerfile 2.7%