Skip to content

Commit b27af99

Browse files
Update README.md
1 parent 7262a8d commit b27af99

File tree

1 file changed

+21
-10
lines changed

1 file changed

+21
-10
lines changed

README.md

Lines changed: 21 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,30 @@
22

33
[![Unit Test](https://github.com/ShotaKashihara/atcoder-cli-swift/workflows/Unit%20Test/badge.svg?event=push)](https://github.com/ShotaKashihara/atcoder-cli-swift/actions)
44

5-
[Tatamo/atcoder-cli](https://github.com/Tatamo/atcoder-cli) にインスパイアされた、 Swift-er 向けの AtCoder CLI です
5+
[Tatamo/atcoder-cli](https://github.com/Tatamo/atcoder-cli) にインスパイアされた Swift-er 向けの AtCoder CLI です。
6+
7+
- コンテストに対応する Swift Package プロジェクトを作成します。
8+
- Swift Package プロジェクトには各問題に対応する Target と TestTarget が含まれます。
9+
- 問題のサンプル入出力から XCTest を作成します。
10+
- ターミナルからソースコードの提出を支援します。
611

712
<img src="misc/top.png">
813

9-
- コンテスト毎に Xcode プロジェクトを作成します (`accs new <contest>`)
10-
- 問題ごとにサンプルの入出力からテストケースを作成します
11-
- コードの提出を支援します (`accs submit <task>`)
14+
## Install
15+
16+
```bash
17+
brew install ShotaKashihara/tap/accs
18+
```
19+
20+
## Usage
21+
22+
```bash
23+
$ accs new abc001 # "abc001/" directory will be created
24+
$ cd abc001/
25+
$ open Package.swift # Launch Swift Package project with Xcode
26+
# ... write your solution ...
27+
$ accs submit {:problem_alphabet} # to use submit function
28+
```
1229

1330
## Requirements
1431

@@ -25,12 +42,6 @@ oj login
2542
> Password:
2643
```
2744

28-
## Install
29-
30-
```bash
31-
brew install ShotaKashihara/tap/accs
32-
```
33-
3445
## Documents
3546

3647
[Getting Started](doc/getting_started.md)

0 commit comments

Comments
 (0)