diff --git a/README.md b/README.md index 4173780..7216bc5 100644 --- a/README.md +++ b/README.md @@ -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 @@ -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. \ No newline at end of file diff --git a/tscli.go b/tscli.go index 57b6dfe..a24e7e8 100644 --- a/tscli.go +++ b/tscli.go @@ -12,7 +12,7 @@ import ( ) var ( - ClientPath, _ = homedir.Expand("~/tscli.json") + ClientPath, _ = homedir.Expand("~/.tscli.global") ) func main() {