Skip to content

requires/api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

6376093 · Nov 7, 2017

History

41 Commits
Nov 7, 2017
Nov 7, 2017
Mar 18, 2014
Nov 7, 2017
May 22, 2015
May 22, 2015
Mar 18, 2014
Mar 18, 2014
Nov 7, 2017
Nov 7, 2017
Nov 7, 2017

Repository files navigation

Requires.io API

Requirements Status

Installation

To install, simply:

$ pip install requires.io

Usage

Create or update a repository:

$ requires.io update-repo -t MY_TOKEN -r MY_REPO (--public | --private)

Create or update a branch:

$ requires.io update-branch -t MY_TOKEN -r MY_REPO -n MY_BRANCH /path/to/my/sources

Create or update a tag:

$ requires.io update-tag -t MY_TOKEN -r MY_REPO -n MY_TAG /path/to/my/sources

Monitor a site:

  • freeze the current environment with pip
  • hostname is the default site name
$ requires.io update-site -t MY_TOKEN -r MY_REPO

Delete repositories, branches, tags and sites:

$ requires.io delete-repo -t MY_TOKEN -r MY_REPO
$ requires.io delete-branch -t MY_TOKEN -r MY_REPO -n MY_BRANCH
$ requires.io delete-tag -t MY_TOKEN -r MY_REPO -n MY_TAG
$ requires.io delete-site -t MY_TOKEN -r MY_REPO -n MY_SITE