scour

command module
v0.0.0-...-9fb6cf1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 10, 2024 License: MIT Imports: 14 Imported by: 0

README

Warning: MAINTENANCE

Scour

Scour is a command-line tool developed in Go, offering functionalities similar to curl. It allows users to make HTTP requests and interact with UNIX sockets.

Features

  • Supports HTTP methods: GET, POST, PUT, DELETE.
  • Ability to pass custom request headers and data.
  • Supports verbose output for debugging.
  • Can connect through an abstract Unix domain socket.

Installation

Clone the repository and build the project:

    git clone https://github.com/dark-enstein/scour.git
    cd scour
    make build

Usage

Basic HTTP Request
    scour [flags] <url>

Flags:

  • --verbose or -v: Enable verbose mode.
  • -X: Specify the request method (GET, POST, etc.).
  • -d: Pass request data.
  • -H: Custom request headers.
Example
    scour -v -X GET https://example.com

Docker Support

Build a Docker image using the provided Dockerfile:

    make docker-build

Testing

Run tests with:

    make test

Contributing

Contributions are welcome. Please submit pull requests or open issues for any bugs or feature requests.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
internal
dal

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL