Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sachaos/ac-deck
Unofficial CLI for AtCoder users.
https://github.com/sachaos/ac-deck
atcoder cli docker
Last synced: 2 months ago
JSON representation
Unofficial CLI for AtCoder users.
- Host: GitHub
- URL: https://github.com/sachaos/ac-deck
- Owner: sachaos
- License: apache-2.0
- Created: 2020-02-10T09:01:19.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2023-06-22T13:33:18.000Z (over 1 year ago)
- Last Synced: 2024-10-15T10:08:21.363Z (3 months ago)
- Topics: atcoder, cli, docker
- Language: Go
- Homepage:
- Size: 6.96 MB
- Stars: 29
- Watchers: 5
- Forks: 5
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# AC Deck
Unofficial CLI for AtCoder users.
# Demo
![demo](./images/demo.gif)
## Features
* Template (built-in)
* Run test on Docker or Native
* Submit code to AtCoder
* Support major languages (If you want to add another languages, please send PR.)# Install
## Linux
Download binary from [Release page](https://github.com/sachaos/ac-deck/releases)
```shell
$ curl -L -o ./ac-deck.tar.gz https://github.com/sachaos/ac-deck/releases/download/v0.3.4/ac-deck_0.3.4_Linux_x86_64.tar.gz && mkdir ./ac-deck-bin && tar xvzf ./ac-deck.tar.gz -C ./ac-deck-bin && sudo mv ./ac-deck-bin/acd /usr/local/bin/acd && sudo chmod +x /usr/local/bin/acd
```## Mac OS X
```shell
$ brew install sachaos/tap/ac-deck
```## Build it yourself
You need go 1.13.
```shell
$ git clone https://github.com/sachaos/ac-deck.git
$ cd ac-deck
$ make install
```# Setup
## Configure authentication information
```shell
$ acd config
```**WARNING**: This software store raw authentication information on `~/.ac-deck.toml`. This is not secure.
Please understand this behavior, and use carefully. Please contribute if you interest to fix this behavior.## Install test runnder
```shell
$ acd install python3
```# Usage
## Prepare to solve problems
```shell
$ acd prepare abc153
```### Specify language to solve
```shell
$ acd prepare --language python3 abc153
```## Browse problem (on web browser)
```shell
$ acd abc153/abc153_a browse
```## Edit code
```shell
$ acd abc153/abc153_a edit
```You can customize the editor by `$EDITOR` environment variable.
## Test
```shell
$ acd abc153/abc153_a test
```## Submit if test passed
```shell
$ acd abc153/abc153_a submit
```### Submit without test
```shell
$ acd abc153/abc153_a submit --skip-test
```## Supporting Language
[AtCoder Languages and Compiler options](https://atcoder.jp/contests/language-test-202001)
- C++ (GCC 9.2.1)
- Python3 (3.8.2)
- Go (1.14.1)
- You cannot use gonum, gods now.
- Rust (1.42.0)