Byggis is a tool to make solving kattis problems easier through your terminal and a proper testing system.
Build from scratch via GitHub or download with cargo. (how to install cargo)
bash
$ cargo install byggis
Start a new kattis solution:
bash
$ byggis new <PROBLEM ID>
In the kattis url: https://open.kattis.com/problems/aa
the problem id will be aa
so the byggis command will be
bash
$ byggis new aa
Byggis will then prompt if you want to create a main file with a starter code snippet in it.
Supported languages: * Python (first class support) * Rust (almost first class support) * Java (second class support) * Haskell (not even sure if it works tbh)
Byggis will then create a new folder named <PROBLEM ID>
where your main file exists.
To test your code against the test cases from kattis just do:
bash
$ byggis run
if there are multiple main files, byggis will ask you which one to use.
To view your problems description with byggis use:
bash
$ byggis describe
This will print the problems description in the terminal and reduce the need to alt tab.
If your desired language is not supported, please put in a pull request. Implementing a new language should be easy and only requires editing the supported_languages.rs file and should require minimal rust knowledge.