Skip to content
This repository has been archived by the owner on Feb 21, 2019. It is now read-only.

Latest commit

 

History

History
131 lines (86 loc) · 3.78 KB

README.md

File metadata and controls

131 lines (86 loc) · 3.78 KB

travis build Coverage Status PyPI version

module_icon

Build/Coverage Status

Branch Build Coverage
master travis build Coverage Status
development travis build Coverage Status

parrotfish

Code and manage your Aquarium protocols and libraries through your IDE

This project is no longer maintained, we suggest that you use Nemo instead.

Version/Status

Code and ideas were taken from Garrett Newman. This branch is rebranding the interface and packaging to be more convenient for other users to adopt.

Note that this version requires the new version of Trident that utilizes Pillowtalk.

Installation

Requirements

  • install this version of trident
    • cd to trident directory
    • run pip install .
cd to/directory/parrotfish
pip install parrotfish

Usage

Once installed, the command line interface is automatically exposed. Take a look at the available commands by typing

pfish

Logging in

pfish register <username> <password> <aquarium_url> <session_name>

Managing environment

List current environment state by:

pfish state

Set your session by name:

pfish set_session <session_name>

Set your current category ("all" for all categories):

pfish set_category <category_name>

List available categories on the server:

pfish categories

Managing code

Listing repo location:

pfish repo

Moving your repo:

pfish move_repo <path_to_new_location>

Get code for current session and category:

pfish fetch

Push code for current session and category:

pfish push

Testing Operation Types

Please consult the Operation Type Testing documentation for instructions on how to test Operation Types with Parrotfish.

Setting up scripts

A fetch script may look like

#!/usr/bin/env bash

pfish set_session nursery
pfish set_category Cloning
pfish fetch

A push script may look like:

#!/usr/bin/env bash

pfish set_session nursery
pfish set_category Cloning
pfish push