Code Monkey home page Code Monkey logo

qxargs's Introduction

Build Status Go Report Card Coverage Status

qxargs

Call xargs quickly.

Well, the name may be over claimed because I did not implement all functionalities of xargs.

Installing

MacOS is simple.

$ brew install iwat/public/qxargs

Other OS needs to build from source, which is also one liner.

$ go get github.com/iwat/qxargs

Usage

This should be understandable.

SYNOPSIS
     qxargs [flags] command filters ...
     qxargs [flags] command commandargs ... -- filters ...

DESCRIPTION
     Execute command on the list of files that match the given filter.

     command  The command to be executed with the matches files.

     filters  There are 2 kinds of filters are supported, name filter and content filter.
              Simple string will be treated as file name filter.
              String with leading '?' will be treat as content filter.
              Multiple filters will be treated as AND.

EXAMPLES
     To execute vim on any file that has go in their name.

         $ qxargs  vim go

     To execute vim -p on any file that has go in their name.

         $ qxargs  vim -p -- go

     To execute vim -p on any file that has go in their name and has newGrepper in their contents.

         $ qxargs  vim -p -- go ?newGrepper

Animation?

Sure, I love animation.

qxargs vi fli

flow1

qxargs vi -o -- find

flow2

Interactive Mode

I have interactive mode too. Actually, there is no way to disable it right now.

interactive

License

It's MIT license.

In short:

  • Permissions

    • Commercial use
    • Modification
    • Distribution
    • Private use
  • Conditions

    • License and copyright notice
  • Limitations

    • Liability
    • Warranty

qxargs's People

Contributors

iwat avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

iporsut

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.