Skip to content

benjaminparnell/trumpet-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

trump

A very small command line interface to substack/node-trumpet.

Installation

npm install -g trump

# Usage

# pipe things into it
curl https://daycalc.appspot.com/07/01/2015 | trump '#date-info'

# read from files
trump 'a' index.html

# get the first matching element
trump -f 'a' index.html

# Options

## -f, --first Get the first element that matches a selector from the input.

Why

I wanted to be able to do what the curl example above did in a script, and decided to use trumpet to do it.

Your module name is the coolest

I know, I know.

About

A very small command line interface to node-trumpet

Resources

License

Stars

Watchers

Forks

Packages

No packages published