Skip to content

Commit

Permalink
Changed global config
Browse files Browse the repository at this point in the history
  • Loading branch information
Sergey Kharitontsev-Beglov committed Sep 24, 2021
1 parent dd8ec28 commit 58f70a5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Use `go install github.com/khbminus/tscli` to install TScli into `$GOBIN` or `$G
# Usage

```shell
# => login into TSWeb account and save credentials to ~/.tscli.json
# => login into TSWeb account and save credentials to ~/.tscli.global
tscli login
# Set contest for current local config (with dialog)
tscli local set-contest
Expand All @@ -30,5 +30,5 @@ tscli submit -p 2A file.extension

# Configuration

TScli uses two configuration files: global - `$HOME/.tscli.json` with credentials and `.tscli.local` (search in parent
TScli uses two configuration files: global - `$HOME/.tscli.global` with credentials and `.tscli.local` (search in parent
directories is supported) with data specific to a contest.
2 changes: 1 addition & 1 deletion tscli.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import (
)

var (
ClientPath, _ = homedir.Expand("~/tscli.json")
ClientPath, _ = homedir.Expand("~/.tscli.global")
)

func main() {
Expand Down

0 comments on commit 58f70a5

Please sign in to comment.