Name: wombat-cli
Owner: npm
Description: The wombat cli tool.
Created: 2016-04-01 18:56:42.0
Updated: 2018-04-25 14:08:10.0
Pushed: 2017-12-08 22:12:12.0
Homepage: null
Size: 178
Language: JavaScript
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
The wombat cli tool.
,.--""""--.._
." .' `-.
; ; ;
' ; )
/ ' . ;
/ ; `. `;
,.' : . : )
;|\' : `./|) \ ;/
;| \" -,- "-./ |; ).;
/\/ \/ );
: \ ;
: _ _ ; )
`. \;\ /;/ ; /
! : : ,/ ;
(`. : _ : ,/"" ;
\\\`"^" ` : ;
( )
////
helpful wombat tool
ands:
ok control your hooks
ckage <package> see information about the named package
rsions <package> see all available versions for the named package
oami the username you are authenticated as
ons:
registry, -r the registry configuration to use [default: "default"]
json, -j print output as json [boolean] [default: false]
help Show help [boolean]
version show version information [boolean]
Help is available for each of the supported commands.
You may also do fun things like wombat ls --depth=0
and npm
will be invoked.
Wombat reads its config from the file ~/.wombatrc
. This file is parsed as TOML. The defaults look like this:
ault]
stry = "https://registry.npmjs.org"
= "https://registry.npmjs.org/-/npm"
You can add sections for other registries to talk to and point wombat to them using the name of the config section, or change the default to a registry you use more often. For example:
ault]
stry = "https://registry.npmjs.org"
= "https://registry.npmjs.org/-/npm"
erprise]
stry = "https://npm-enterprise.private.npmjs.com"
= "https://api.private.npmjs.com"
Then run something like wombat -r enterprise package @secret/private-package
at hook
ands:
[pkg] list your hooks
d <pkg> <url> <secret> add a hook to the named package
date <id> <url> [secret] update an existing hook
<id> remove a hook
ples:
mbat hook add lodash https://example.com/webhook my-shared-secret
mbat hook ls lodash
mbat hook ls --json
mbat hook rm id-ers83f
wombat package yargs
shows you a formatted description of the package meta-data. Pass --readme
to get the package readme rendered in your terminal as markdown!
wombat versions yargs
shows you a list of all dist-tags and versions for the named package (in this case, yargs).
Find out who you are logged in as for the registry you're using.
ISC