filter

package module
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: May 23, 2023 License: MIT Imports: 5 Imported by: 0

README

🌳 Go Filter Library

Inspired by filter by rwxrob. This is a very rudimentary implementation.

Installation

You can grab the latest binary release. This filter command can be installed as a standalone program or composed into a Bonzai command tree.

Standalone

go install github.com/chriswifn/filter/cmd/filter@latest

Composed

package z

import (
    Z "github.com/rwxrob/bonzai/z"
    "github.com/chriswifn/filter"
)

var Cmd = &Z.Cmd{
    Name: `z`,
    Commands: []*Z.Cmd{help.Cmd, filter.Cmd},
}

Tab Completion

To activate bash completion just use the complete -C option from your .bashrc or command line. There is no messy sourcing required. All the completion is done by the program itself.

complete -C filter filter

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Cmd = &Z.Cmd{
	Name:      `filter`,
	Summary:   `collection of common UNIX filters`,
	Commands:  []*Z.Cmd{help.Cmd, link.Cmd, url.Cmd, comment.Cmd},
	Copyright: `Copyright 2022 Robert S Muhlestein`,
	Version:   `v0.1.0`,
	License:   `Apache-2.0`,
	Site:      `rwxrob.tv`,
	Source:    `git@github.com:rwxrob/filter.git`,
	Issues:    `github.com/rwxrob/filter/issues`,
}

Functions

This section is empty.

Types

This section is empty.

Directories

Path Synopsis
cmd
filter command

Jump to

Keyboard shortcuts

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