/sodar-cli

SODAR REST API client (CLI + Python package)

Primary LanguagePythonMIT LicenseMIT

Continuous Integration Status https://app.codacy.com/project/badge/Grade/0bf5c6d8a91e4a7380676672e466525d https://app.codacy.com/project/badge/Coverage/0bf5c6d8a91e4a7380676672e466525d https://coveralls.io/repos/github/bihealth/sodar-cli/badge.svg?branch=main MIT License

SODAR CLI

Command line interface for SODAR Server.

Getting Started

SODAR Repositories

sodar-server
SODAR web server for meta and mass data management.
sodar-taskflow
Helper component for running tasks with rollback functionality.

Installation

$ git clone git@github.com:bihealth/sodar-cli.git
$ cd sodar-cli
$ conda create -n sodar-cli python=3.7
$ conda activate sodar-cli
$ pip install -e .
$ cat >~/.sodarrc.toml <<EOF
[global]

# URL to SODAR server.
sodar_server_url = "https://sodar.example.com/"
# API token to use for SODAR API.
sodar_api_token = "XXX"
EOF

Releasing

$ $EDITOR HISTORY.rst
$ git tag ...
$ rm -rf dist
$ python setup.py sdist
$ twine upload dist/*.tar.gz