Skip to content

insertokname/pbinfo-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pbinfo-cli

This project is a command line interface for pbinfo. It is written in rust and uses reqwest for making gets and posts.

VERY IMPORTANT: As of now this project uses plain text to store your pbinfo username and password so be very carefull of using this. This will be changed in the near future.

Building and running

Right now the only way of running this is building the projects yourself, thankfully this is pretty easy.

Dependencies

All you need is rust, openssl, pkg-config

  • Nix: All you need to do is run nix develop in the repo and everything will be installed You can also run nix build to automatically build the project under ./result

  • Windows: I will be using chocolatey for this, here is a very simple tutorial on installing it.

After you have installed it just run in an admin cmd or ps:

choco install rust openssl pkgconfiglite

After we installed these we just need to build it

  • Ubuntu:
sudo apt install -y cargo libssl-dev pkg-config
  • Fedora:
sudo yum install pkg-config openssl-devel

Building

cargo build

the executable will be located under target/debug/pbinfo-cli(.exe)

General usage

The way you use it is go into a project, run the executable using the --problem-id flag to specify the id of the problem. After running the program pbinfo-cli will look for a file named main.cpp in your folder and send it to pbinfo.

About

a cli program for uploading pbinfo solutions

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published