futon on your command line
futoncli is a command line tool for managing and interacting with couchdb. it's open-source and easy to use.
futoncli
requires npm
, the node package manager.
[sudo] curl http://npmjs.org/install.sh | sh
[sudo] npm install futon -g
futoncli
is designed with serendipity in mind. you should be able to work with it without the need for instructions.
futoncli
uses nano under the hood, so most of the code is actually there.
even thought futoncli
works it is not a finished product as it was hacked together in a couple of hours. you are likely to find problems with it and you are encouraged to send in a pull request for any issue you find.
all configuration data for your local futoncli
install is located in the .futoncliconf file in your home directory. directly modifying this file is not really advised. you should be able to make all configuration changes via:
futon config
to get futoncli
working it needs the HOME
environment variable. if you want to change it before execution do this:
HOME=path/to/home/directory futon
if you're using windows set the variable before calling foutoncli
:
SET HOME=C:\Path\To\Home\Directory
futon
or to set it permanently add a new environment variable.
$ npm test
everyone is welcome to contribute with patches, bug-fixes and new features. check roadmap for ideas of things i know are broken. also issues.
- create an issue on github so the community can comment on your idea
- fork
futoncli
in github - create a new branch
git checkout -b my_branch
- create tests for the changes you made
- make sure you pass both existing and newly inserted tests
- commit your changes
- push to your branch
git push origin my_branch
- create a pull request
to run tests make sure you npm test but also run tests without mocks:
- code:
git clone git://github.com/dscape/futoncli.git
- home: http://github.com/dscape/futoncli
- bugs: http://github.com/dscape/futoncli/issues
(oo)--',-
in caos
copyright 2011 nuno job <nunojob.com>, julian duque <@julianduque>, and contributors (oo)--',--
licensed under the apache license, version 2.0 (the "license"); you may not use this file except in compliance with the license. you may obtain a copy of the license at
http://www.apache.org/licenses/license-2.0
unless required by applicable law or agreed to in writing, software distributed under the license is distributed on an "as is" basis, without warranties or conditions of any kind, either express or implied. see the license for the specific language governing permissions and limitations under the license.