Skip to content

Commit

Permalink
config : enable logs by default
Browse files Browse the repository at this point in the history
commit-id:b5b69017
  • Loading branch information
ejoffe authored and Eitan Joffe committed Dec 6, 2021
1 parent 43cc143 commit 0b38aa3
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ type RepoConfig struct {

type UserConfig struct {
ShowPRLink bool `default:"true" yaml:"showPRLink"`
LogGitCommands bool `default:"false" yaml:"logGitCommands"`
LogGitHubCalls bool `default:"false" yaml:"logGitHubCalls"`
LogGitCommands bool `default:"true" yaml:"logGitCommands"`
LogGitHubCalls bool `default:"true" yaml:"logGitHubCalls"`
StatusBitsHeader bool `default:"true" yaml:"statusBitsHeader"`

Stargazer bool `default:"false" yaml:"stargazer"`
Expand Down
4 changes: 2 additions & 2 deletions config/config_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,8 @@ func TestDefaultConfig(t *testing.T) {
},
User: &UserConfig{
ShowPRLink: true,
LogGitCommands: false,
LogGitHubCalls: false,
LogGitCommands: true,
LogGitHubCalls: true,
StatusBitsHeader: true,
Stargazer: false,
RunCount: 0,
Expand Down
4 changes: 2 additions & 2 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -135,8 +135,8 @@ User specific configuration is saved to .spr.yml in the user home directory.
| User Config | Type | Default | Description |
| ------------------- | ---- | ------- | ----------------------------------------------------------------- |
| showPRLink | bool | true | show full pull request http link |
| logGitCommands | bool | false | logs all git commands to stdout |
| logGitHubCalls | bool | false | logs all github api calls to stdout |
| logGitCommands | bool | true | logs all git commands to stdout |
| logGitHubCalls | bool | true | logs all github api calls to stdout |
| statusBitsHeader | bool | true | show status bits type headers |

Happy Coding!
Expand Down

0 comments on commit 0b38aa3

Please sign in to comment.