Giter Club home page Giter Club logo

retocli's Introduction

Retocli

License Build Last commit

Retocli is a command-line interface (CLI) tool that enables users to interact with the Acepta El Reto platform directly from their terminal. Acepta El Reto is a Spanish website that hosts programming challenges and problems for enthusiasts and learners alike.

Features

  • Log in to the AceptaElReto system using your credentials.
  • View your user profile and profiles of other users using their ID or username.
  • Submit results to the platform for evaluation and retrieve results for a specific problem by its ID or the latest attempts for all problems.

Installation

Precompiled Binary

You can download a precompiled binary from the Releases page. Choose the appropriate binary for your operating system and architecture, then follow these steps:

  • Download the binary to your local machine.

  • Make the binary executable:

    chmod +x retocli
  • Move the binary to a directory in your system PATH (optional but recommended):

    sudo mv aceptaelreto /usr/local/bin/

Build from Source

Alternatively, you can build the CLI from the source code. Follow these steps:

  • Clone the repository to your local machine:

    git clone https://github.com/MarcOrfilaCarreras/retocli.git
  • Navigate to the project directory:

    cd retocli
  • Build the CLI using the following command:

    make build

Usage

The CLI provides several commands for interacting with the system. Below are the available commands along with their respective usage and arguments:

login

Log in to the system by providing valid credentials.

retocli login [arguments]

Arguments:

  • -h, --help: Show help message and exit.
  • -u, --username: Specify the username for authentication.
  • -p, --password: Specify the password for authentication.

logout

Log out and terminate the current authenticated session.

retocli logout [arguments]

Arguments:

  • -h, --help: Show help message and exit.

profile

View user profile information.

retocli profile [arguments]

Arguments:

  • -h, --help: Show help message and exit.
  • -i, --id: Specify the ID of the user.
  • -u, --username: Specify the username.

results

Retrieve and send information about submissions.

retocli results [arguments]

Arguments:

  • -h, --help: Show help message and exit.
  • -i, --id: Specify the ID of the challenge to retrieve results.
  • -l, --language: Specify the programming language (Accepted values: JAVA, C, C++).
  • -f, --file: Specify the file to be sent for the challenge.
  • -o, --operation: Specify a specific action to perform on the challenge (Accepted values: push, results).

License

See the LICENSE.md file for details.

retocli's People

Contributors

marcorfilacarreras avatar github-actions[bot] avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.