Skip to main content

A CLI for R2C

Project description

r2c-cli

This is the CLI for interacting with the R2C platform. More documentation on the way!

Installation (wip)

Prerequisites

Setup

  • Download the r2c-lib and r2c-cli .whl files.

  • Install the wheel files using pip3 (change the filenames to match):

    pip3 install r2c_lib.whl r2c_cli.whl
    

    Since the wheels aren't publicly available on PyPI yet, you must provide both wheels to pip3, or else it won't be able to resolve dependencies properly.

  • Run r2c to check that the CLI was installed properly. You should see usage info.

Usage

r2c <command> [options]

You can also run r2c -h or just r2c to see usage information.

For help with a command in particular, you can run r2c <command> -h and see help specifically for that command.

Many commands require that you run them in an analyzer directory (i.e. a directory containing an analyzer.json and associated files).

Testing

Integration tests could be defined in the src/examples directory. Integration test on a github REPO@COMMIT could be defined as

{
"target": "{REPO}",
"target_hash": "{COMMIT}",
"expected": []
}

Troubleshooting

  • If you run into issues and need to reinstall the CLI, you can run:

    pip3 install --upgrade --force-reinstall r2c_lib.whl r2c_cli.whl
    
  • If you receive a message stating that the .whl "is not supported wheel on this platform", make sure that the filename hasn't been altered. PIP determines platform compatibility based on the filename, so if you downloaded it twice and your browser added a "(1)" it will think it doesn't work on your platform.

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

r2c-cli-0.0.3.tar.gz (9.6 kB view details)

Uploaded Source

Built Distributions

r2c_cli-0.0.3-py3.7.egg (20.2 kB view details)

Uploaded Source

r2c_cli-0.0.3-py3-none-any.whl (10.3 kB view details)

Uploaded Python 3

File details

Details for the file r2c-cli-0.0.3.tar.gz.

File metadata

  • Download URL: r2c-cli-0.0.3.tar.gz
  • Upload date:
  • Size: 9.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.7.2 requests-toolbelt/0.8.0 tqdm/4.29.1 CPython/3.7.2

File hashes

Hashes for r2c-cli-0.0.3.tar.gz
Algorithm Hash digest
SHA256 f214357c0e0fa37543cf190800bb1482ca9716717d27850e682a134b954a10d4
MD5 cfb311dd046997f5cae9381fb4ce5f13
BLAKE2b-256 9c6b42d6ce7f43b10cba1da3093c8073868efb84110f821cebf062a9d694cd92

See more details on using hashes here.

File details

Details for the file r2c_cli-0.0.3-py3.7.egg.

File metadata

  • Download URL: r2c_cli-0.0.3-py3.7.egg
  • Upload date:
  • Size: 20.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.7.2 requests-toolbelt/0.8.0 tqdm/4.29.1 CPython/3.7.2

File hashes

Hashes for r2c_cli-0.0.3-py3.7.egg
Algorithm Hash digest
SHA256 d17a30c268ca324b24e9867be81cda57a12a677664ba3a245b381c53239fbb94
MD5 7f197cc355753283d2dca515725ff4da
BLAKE2b-256 e0fed42d3336a9674424ca7bfb1c8be206caf5679358bc77d021828c0255465a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: r2c_cli-0.0.3-py3-none-any.whl
  • Upload date:
  • Size: 10.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.7.2 requests-toolbelt/0.8.0 tqdm/4.29.1 CPython/3.7.2

File hashes

Hashes for r2c_cli-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 203fec0b30cf3d5df47d3825cdb6204665448084870f6b078063a3ea2c020457
MD5 4792709e118fb2d6a9d9390a67559cc5
BLAKE2b-256 4361cb482e7aa356d17990c7b17c57df3ac0ab0cdd424324ee1f8310f7c01b44

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