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.6.1.tar.gz
(3.3 kB
view hashes)
Built Distribution
Close
Hashes for muscle_musedev-0.0.6.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1c6895a689375ccb74a95cb47182c743c243e38b519c5607d742b67423e2a899 |
|
MD5 | 686bb8ce5d1891d654c16581a39d9c16 |
|
BLAKE2b-256 | c62ec4558a2b95cb1124adfb9091252356072dff29db72840e2c94d935b28584 |