Skip to content

Arena-CLI is designed to extend the functionality of the Arena web application to command line to make the platform more accessible and terminal-friendly to its users.

License

Notifications You must be signed in to change notification settings

guardstrikelab/arena-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Arena-CLI

Official Command Line utility to use Arena in your terminal.

Arena-CLI is designed to extend the functionality of the Arena web application to command line to make the platform more accessible and terminal-friendly to its users.


Usage

Set token

arena set_token [TOKEN]

Push the docker image to arena backend

arena push -t track [IMAGE]:[TAG]

Source Installation

Arena-CLI and its required dependencies can be installed using pip:

pip install arena

Once Arena-CLI is installed, check out the usage documentation.

Development Setup

  1. Setup the development environment for Arena and make sure that it is running perfectly.

  2. Clone the arena-cli repository to your machine via git

    git clone https://github.com/guardstrikelab/arena-cli.git arena-cli
  3. Create a virtual environment

    cd arena-cli
    virtualenv -p python3 venv
    source venv/bin/activate
  4. Install the package locally

    pip install -e .
  5. Change the arena-cli host to make request to local Arena server running on http://localhost:8000 by running:

    arena host -sh http://localhost:8000
  6. Login to cli using the command arena login Two users will be created by default which are listed below -

    Host User - username: host, password: password
    Participant User - username: participant, password: password
  7. Push the docker image to arena backend

    arena push -t track [image]:[tag]

About

Arena-CLI is designed to extend the functionality of the Arena web application to command line to make the platform more accessible and terminal-friendly to its users.

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages