2017 © Pedro Peláez
 

library eoc-cli

CouchDB Command-Line Client.

image

3f/eoc-cli

CouchDB Command-Line Client.

  • Tuesday, March 6, 2018
  • by dedalozzo
  • Repository
  • 1 Watchers
  • 2 Stars
  • 10 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 12 Versions
  • 0 % Grown

The README.md

Latest Stable Version Latest Unstable Version Build Status Scrutinizer Code Quality License Total Downloads, (*1)

Elephant on Couch Command-Line Interface

EoC CLI is a CouchDB's Command-Line Interface (CLI) made in PHP programming language., (*2)

Composer Installation

To install EoC CLI, you first need to install Composer, a Package Manager for PHP, following those few steps:, (*3)

``` sh curl -s https://getcomposer.org/installer | php, (*4)


You can run this command to easily access composer from anywhere on your system: ``` sh sudo mv composer.phar /usr/local/bin/composer

EoC CLI Installation

Once you have installed Composer, it's easy install Elephant on Couch CLI., (*5)

  1. Move into the directory where you prefer install EoC CLI: sh cd /usr/local, (*6)

  2. Create a project for EoC CLI: sh sudo composer create-project 3f/eoc-cli, (*7)

  3. For your convenience create a symbolic link for the couch executable in your /usr/local/bin directory: sh sudo ln -s /user/local/eoc-cli/bin/couch.php /usr/local/bin/couch, (*8)

Supported Commands

Lists commands. ``` sh couch list [--xml] [--raw] [--format="..."] [namespace], (*9)


Displays help for a command. ``` sh couch help [--xml] [--format="..."] [--raw] [command_name]

Connects to CouchDB server. ``` sh couch connect [-s|--server[="..."]] user, (*10)


Uses the specified database. ``` sh couch use database

Alias of use. ``` sh couch select database, (*11)


Creates a new database. ``` sh couch create database

Deletes the specified database, if not in use. ``` sh couch delete database, (*12)


Displays information about the selected database. ``` sh couch info

Starts a compaction for the current selected database or just a set of views. ``` sh couch compact [--design-doc="..."], (*13)


Removes all outdated view indexes. ``` sh couch cleanup

Makes sure all uncommited database changes are written and synchronized to the disk. ``` sh couch commit, (*14)


Returns the tail of the server's log file. ``` sh couch log [--bytes[="..."]]

Restarts CouchDB server. ``` sh couch restart, (*15)


Gets the list of active tasks. ``` sh couch status

Returns a list of generated UUIDs. ``` sh couch uuids [--count[="..."]], (*16)


Displays CouchDB server and client versions. ``` sh couch version

Returns a list of all databases on this server. ``` sh couch alldbs, (*17)



Queries a view and outputs the result. ``` sh couch query [--key="..."] [--startkey="..."] [--endkey="..."] [--startkey-docid="..."] [--endkey-docid="..."] [--limit="..."] [--group-results] [--group-level="..."] [--do-not-reduce] [--include-docs] [--exclude-results] [--exclude-endkey] [--reverse-order] [--skip="..."] [--include-conflicts] [--include-missing-keys] [--map="..."] [--reduce="..."] [--language="..."] design-doc/view-name [keys1] ... [keysN]

Requirements

PHP 5.4.7 or above. Shmop library is also required., (*18)

Authors

Filippo F. Fadda - filippo.fadda@programmazione.it - http://www.linkedin.com/in/filippofadda, (*19)

License

Elephant on Couch Command-Line Interface is licensed under the Apache License, Version 2.0 - see the LICENSE file for details., (*20)

The Versions

06/03 2018

dev-master

9999999-dev http://github.com/dedalozzo/eoc-cli

CouchDB Command-Line Client.

  Sources   Download

Apache-2.0 Apache License 2.0

The Requires

 

nosql couchdb command-line client

06/03 2018

0.5.4

0.5.4.0 http://github.com/dedalozzo/eoc-cli

CouchDB Command-Line Client.

  Sources   Download

Apache-2.0

The Requires

 

nosql couchdb command-line client

16/10 2017

0.5.3

0.5.3.0 http://github.com/dedalozzo/eoc-cli

CouchDB Command-Line Client.

  Sources   Download

Apache License 2.0

The Requires

 

nosql couchdb command-line client

09/08 2016

0.5.2

0.5.2.0 http://github.com/dedalozzo/eoc-cli

CouchDB Command-Line Client.

  Sources   Download

Apache License 2.0

The Requires

 

nosql couchdb command-line client

09/08 2016

0.5.1

0.5.1.0 http://github.com/dedalozzo/eoc-cli

CouchDB Command-Line Client.

  Sources   Download

Apache License 2.0

The Requires

 

nosql couchdb command-line client

19/07 2016

0.4.8

0.4.8.0 http://github.com/dedalozzo/eoc-cli

CouchDB Command-Line Client.

  Sources   Download

Apache License 2.0

The Requires

 

nosql couchdb command-line client

19/07 2016

0.4.7

0.4.7.0 http://github.com/dedalozzo/eoc-cli

CouchDB Command-Line Client.

  Sources   Download

Apache License 2.0

The Requires

 

nosql couchdb command-line client

10/06 2016

0.4.3

0.4.3.0 http://github.com/dedalozzo/eoc-cli

CouchDB Command-Line Client.

  Sources   Download

Apache License 2.0

The Requires

 

nosql couchdb command-line client

27/02 2016

0.4.2

0.4.2.0 http://github.com/dedalozzo/eoc-cli

CouchDB Command-Line Client.

  Sources   Download

Apache License 2.0

The Requires

 

nosql couchdb command-line client

15/01 2016

0.4.1

0.4.1.0 http://github.com/dedalozzo/eoc-cli

CouchDB Command-Line Client.

  Sources   Download

Apache License 2.0

The Requires

 

nosql couchdb command-line client

15/01 2016

0.4.0

0.4.0.0 http://github.com/dedalozzo/eoc-cli

CouchDB Command-Line Client.

  Sources   Download

Apache License 2.0

The Requires

 

nosql couchdb command-line client

24/04 2015

0.3.2

0.3.2.0 http://github.com/dedalozzo/eoc-cli

CouchDB Command-Line Client.

  Sources   Download

Apache License 2.0

The Requires

 

nosql couchdb command-line client