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
Built Distribution
File details
Details for the file muscle-musedev-0.0.6.1.tar.gz
.
File metadata
- Download URL: muscle-musedev-0.0.6.1.tar.gz
- Upload date:
- Size: 3.3 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 | 97626397ded105bcc08c3681cfc69f7caf17045bb97e9b4a1c9e43c68425b1bc |
|
MD5 | 518605bbf5293acb5ae9a06a2e2db92f |
|
BLAKE2b-256 | 53479e538f3ff5b228f2c9e0a237f33587a0e2871331917a6540f088e1f3f56c |
File details
Details for the file muscle_musedev-0.0.6.1-py3-none-any.whl
.
File metadata
- Download URL: muscle_musedev-0.0.6.1-py3-none-any.whl
- Upload date:
- Size: 4.7 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 | 1c6895a689375ccb74a95cb47182c743c243e38b519c5607d742b67423e2a899 |
|
MD5 | 686bb8ce5d1891d654c16581a39d9c16 |
|
BLAKE2b-256 | c62ec4558a2b95cb1124adfb9091252356072dff29db72840e2c94d935b28584 |