A CLI for running Muse jobs
Project description
muscle
The Muse On-Demand CLI Tool
Requirement
- Have pipenv installed
- Run
pipenv install
once in the current directory to ensure the availability of dependencies - Set environment variable
MUSEDEV_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 MUSEDEV_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] OWNER 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:
MUSEDEV_TOKEN=MY_SECRET_JWT muscle analyze --branch master tommd libacvp
- Run analysis on a commit:
muscle --token MY_SECRET_JWT analyze --commit h1a2s3h tommd libacvp
- Get analysis status
muscle --token MY_SECRET_JWT status jobID
- Get analysis results
MUSEDEV_TOKEN=MY_SECRET_JWT muscle results jobID1 jobID2 jobID3
New Functionality:
- Scan all repos of an org:
./muscle scan org_name
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.
Source Distribution
muscle-musedev-0.0.4.tar.gz
(3.1 kB
view details)
Built Distribution
File details
Details for the file muscle-musedev-0.0.4.tar.gz
.
File metadata
- Download URL: muscle-musedev-0.0.4.tar.gz
- Upload date:
- Size: 3.1 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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3ae7e1cd81e15dda2ff76ca1a8b86b41716181b1c9c1e72288e5749592077d25 |
|
MD5 | 078ad4329dbf56ab81e675d1dffb14fd |
|
BLAKE2b-256 | b237968de9a525d7b1d2221b69ccc83aa299abd843fdc8c14df6dbbc439904aa |
File details
Details for the file muscle_musedev-0.0.4-py3-none-any.whl
.
File metadata
- Download URL: muscle_musedev-0.0.4-py3-none-any.whl
- Upload date:
- Size: 4.3 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
Algorithm | Hash digest | |
---|---|---|
SHA256 | dde001f654ba0e6b6797d04ed4060dc88494275a11708bc491ba295ff7f99121 |
|
MD5 | 1b8af97b8850ece97037d250fdd3dafc |
|
BLAKE2b-256 | caac4d3e77d982612b4695ab5e12dcd5b564fdf423a66fce9d5492f157818d64 |