Skip to content

Commit

Permalink
Merge pull request #2 from anvial/update-readme
Browse files Browse the repository at this point in the history
Updated readme.
  • Loading branch information
anvial authored Nov 5, 2022
2 parents 1af14ab + f18d70f commit e2215ab
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 21 deletions.
23 changes: 6 additions & 17 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,19 +1,9 @@
# Viddy

<p align="center">
<img src="images/logo.png" width="200" alt="viddy" title="viddy" />
</p>

Modern `watch` command.

Viddy well, gopher. Viddy well.

## Demo

<p align="center">
<img src="images/demo.gif" width="100%" alt="viddy" title="viddy" />
</p>

_Note:_ This is the fork of original viddy tool, which provides the ability to import viddy tool a package in the source code.
This fork allows to use viddy to show output data in different juju commands.

## Features

Expand Down Expand Up @@ -43,7 +33,7 @@ Viddy well, gopher. Viddy well.
| b | Toggle ring terminal bell |
| d | Toggle diff |
| t | Toggle header display |
| ? | Toggle help view |
| ? or h | Toggle help view |
| / | Search text |
| j | Pager: next line |
| k | Pager: previous line |
Expand All @@ -64,8 +54,7 @@ Viddy well, gopher. Viddy well.
"viddy" is Nadsat word meaning to see.
Nadsat is fictional argot of gangs in the violent book and movie "A Clockwork Orange".

## Credits

The gopher's logo of viddy is licensed under the Creative Commons 3.0 Attributions license.
## PS

The original Go gopher was designed by [Renee French](https://reneefrench.blogspot.com/).
The Juju team thanks viddy developers (https://github.com/sachaos/viddy) for creating such a cool 'watch' analog,
and looking forward to switch to original repo after "importing as package" functionality will be introduced.
8 changes: 4 additions & 4 deletions config_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ func Test_newConfig(t *testing.T) {
noTitle: false,
debug: false,
},
theme: theme{
Theme: theme{
Theme: tview.Theme{
PrimitiveBackgroundColor: 0,
ContrastBackgroundColor: 0,
Expand Down Expand Up @@ -196,8 +196,8 @@ text = "white"
c.runtime.cmd = "ls"
c.runtime.args = []string{}

c.theme.PrimitiveBackgroundColor = tcell.ColorBlack
c.theme.PrimaryTextColor = tcell.ColorWhite
c.Theme.PrimitiveBackgroundColor = tcell.ColorBlack
c.Theme.PrimaryTextColor = tcell.ColorWhite

return c
}(),
Expand All @@ -211,7 +211,7 @@ text = "white"
v.SetConfigType("toml")
assert.NoError(t, v.ReadConfig(bytes.NewBufferString(tt.configFile)))

got, err := newConfig(v, tt.args)
got, err := NewConfig(v, tt.args)
assert.Equal(t, tt.expErr, err)
assert.Equal(t, &tt.want, got)
})
Expand Down

0 comments on commit e2215ab

Please sign in to comment.