Skip to main content

A CLI for running Muse jobs

Project description

muscle

The Muse On-Demand CLI Tool

Requirement

  1. Have pipenv installed
  2. Run pipenv install once in the current directory to ensure the availability of dependencies
  3. Set environment variable USER_TOKEN with your JWT token (alternatively, set it in the --token option of each command)

Usage

./muscle --help

Usage: muscle [OPTIONS] COMMAND [ARGS]...

Options:
  --token TEXT  Overrides environment variable USER_TOKEN
  --help        Show this message and exit.

Commands:
  analyze  (--help for subcommand usage)
  status   (--help for subcommand usage)
  results   (--help for subcommand usage)

./muscle analyze --help

Usage: muscle analyze [OPTIONS] REPO

Options:
  --branch TEXT  The branch to analyze, default to 'master'
  --commit TEXT  Hash of the commit to analyze, overrides --branch
  --help         Show this message and exit.

./muscle status --help

Usage: muscle status [OPTIONS] [JOB_ID]...

Options:
  --help  Show this message and exit.

./muscle result --help

Usage: muscle results [OPTIONS] [JOB_ID]...

Options:
  --help  Show this message and exit.

Examples:

  • Run analysis on a branch: USER_TOKEN=MY_SECRET_JWT muscle analyze https://github.com/tommd/libacvp --branch master
  • Run analysis on a commit: muscle --token MY_SECRET_JWT analyze https://github.com/tommd/libacvp --commit h1a2s3h
  • Get analysis status muscle --token MY_SECRET_JWT status jobID
  • Get analysis results USER_TOKEN=MY_SECRET_JWT muscle results jobID1 jobID2 jobID3

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

muscle-musedev-0.0.3.tar.gz (2.9 kB view details)

Uploaded Source

Built Distribution

muscle_musedev-0.0.3-py3-none-any.whl (4.1 kB view details)

Uploaded Python 3

File details

Details for the file muscle-musedev-0.0.3.tar.gz.

File metadata

  • Download URL: muscle-musedev-0.0.3.tar.gz
  • Upload date:
  • Size: 2.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.15.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/2.7.16

File hashes

Hashes for muscle-musedev-0.0.3.tar.gz
Algorithm Hash digest
SHA256 d1846b81eeef487bba110c2b3cf00f45083fbfaf1dd437e1d431b2af63f2284a
MD5 dc6879abbec92c1b1bc57b6abba40409
BLAKE2b-256 dd9c9ceec1ac20a344010fa6ed3edb593bf97d2789ecdd1b773fcc14b828eeb4

See more details on using hashes here.

File details

Details for the file muscle_musedev-0.0.3-py3-none-any.whl.

File metadata

  • Download URL: muscle_musedev-0.0.3-py3-none-any.whl
  • Upload date:
  • Size: 4.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.15.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/2.7.16

File hashes

Hashes for muscle_musedev-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 781c913b04aac2362b9f8f0537d87fc871866b2979d5b4bcc448b78c15ca42de
MD5 daca4c3d9fcabae44219be5bbd87cd6d
BLAKE2b-256 e504bce8909ebce107fb2550967683870a2d43d1cdf764ba7040e6d2798ebd77

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page