Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 400,000 packages pre-installed, including chest with all npm packages installed. Try it out:

var chest = require("chest")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

chest v1.2.3

The easy metafile manager

chest

The Easy Metafile Manager

Badges

  • NPM Version
  • NPM Downloads
  • Build Status
  • Build Status
  • Dependency Status
  • MIT LICENSE

Usage

Usage: chest <command>


Commands:

  put [files...]   Put specified config file in the chest
  take [files...]  Take specified config file from the chest into the project root
  list             Show list of config files in the chest
  open             Place config files from the chest into the project root as symbolic links
  close            Remove symbolic links created by "open"

Options:

  -h, --help     output usage information
  -V, --version  output the version number

Examples

chest command is here to support you to take and put files to a directory called .chest easily. Here are some use cases.

dotfiles

Manage your dotfiles:

$ git clone git@github.com:your/dotfiles.git .chest

$ ls
.chest

$ ls .chest
.emacs.d .tmux.conf .vimrc .zshrc

$ chest open
.emacs.d .chest .tmux.conf .vimrc .zshrc

metafiles

Manage metafiles:

$ ls
index.js package.json metafile_a metafile_b

$ chest put metafile_a metafile_b

$ ls
.chest index.js package.json

$ chest list
metafile_a metafile_b

$ chest open
.chest index.js package.json metafile_a metafile_b

chestignore

To ignore some files, you need to add .chestignore.

README.md
.git
.gitignore

Install

With npm, to get the command do:

$ npm install -g chest

License

MIT

Metadata

RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free