Skip to content

chriswifn/filter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🌳 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

About

🌳 Filter Library

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages