Skip to content

Commit

Permalink
\#3 📝 Update README.md
Browse files Browse the repository at this point in the history
 On branch devel
 Changes to be committed:
	modified:   README.md
	modified:   cmd/init.go
	modified:   cmd/root.go
  • Loading branch information
ChacaS0 committed Feb 26, 2018
1 parent 52f9ab8 commit b277fe3
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 9 deletions.
11 changes: 3 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,9 @@
# TEMPest <!-- <img src="icon" width="40" height="40" /> -->
*TEMPest is a tool to manage easily temp folders/files*
*TEMPest is a tool to manage easily temporary folders/files*

[![Build Status](https://travis-ci.org/ChacaS0/tempest.svg?branch=master)](https://travis-ci.org/ChacaS0/tempest)

> *Not up to date yet!*
## Installation
### From AUR (ArchLinux)
*coming soon*
### From source (Github)
#### Requirements
* git
Expand All @@ -17,7 +13,6 @@
go get -v -u github.com/ChacaS0/tempest
```


## Initialization
### Command line ``init``
It is very easy to use.
Expand All @@ -37,8 +32,8 @@ It will hold the configuration of **TEMPest**.

> If there is an issue and the file can't be created somehow, you can still crate it at its default location: ``$HOME/.tempest.yaml`` with default content:
```yaml
duration: 5
auto-mode: false
duration: 5
auto-mode: false
```
#### Parameters:
Expand Down
1 change: 1 addition & 0 deletions cmd/init.go
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,7 @@ func initializeTP() error {
func initializeCfFile() error {
defConf := `{
duration: 5
auto-mode: false
}
`
_, errDir := IsDirectory(conf.Home + "/.tempest.yaml")
Expand Down
2 changes: 1 addition & 1 deletion cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ func initConfig() {

// If a config file is found, read it in.
if err := viper.ReadInConfig(); err != nil {
fmt.Println("Using default config file:", viper.ConfigFileUsed())
fmt.Println(blueB(":: Using config file:"), viper.ConfigFileUsed())
}

viper.SetDefault("duration", 5)
Expand Down

0 comments on commit b277fe3

Please sign in to comment.