CLI implementation of the ElephantSQL API
Project description
CLI implementation of the ElephantSQL API
Usage:
Install using pip
$ pip install elephantsql-cli
Register your API token
$ elephant register # this will prompt you to add your API token
List backups:
$ elephant backups [--db=my_database]
Create backups:
$ elephant backup [--db=my_database]
Restore backup:
$ elephant restore backup_id
List alarms:
$ elephant alarms
Project Features
Getting Started
The project’s documentation contains a section to help you get started as a developer or user of the library.
Development Prerequisites
If you’re going to be working in the code (rather than just using the library), you’ll want a few utilities.
Resources
Below are some handy resource links.
Click is a Python package for creating beautiful command line interfaces in a composable way with as little code as necessary.
Sphinx is a tool that makes it easy to create intelligent and beautiful documentation, written by Geog Brandl and licnsed under the BSD license.
pytest helps you write better programs.
[GNU Make] is a tool which controls the generation of executables and other non-source files of a program from the program’s source files.
LicenseMIT License
Copyright (c) flyudvik
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.