diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..6e3c3db --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +vendor +_build diff --git a/README.md b/README.md new file mode 100644 index 0000000..1861dac --- /dev/null +++ b/README.md @@ -0,0 +1,24 @@ +# Randomedit + +For when you can't decide what you want to start with. + +## Installation + +:warning: FIXME + + +## Usage + +Watch a random movie + + EDITOR=mpv randomedit -p '*.mkv' -p '*.mp4' -d ~/Movies + +Read a random PDF + + EDITOR=okular randomedit -p '*.pdf' -d ~/Documentation/ + +## Authors & license + +:warning: FIXME + + diff --git a/go.mod b/go.mod new file mode 100644 index 0000000..da7a2f0 --- /dev/null +++ b/go.mod @@ -0,0 +1,3 @@ +module github.com/glenux/randomedit + +require github.com/spf13/pflag v1.0.2 diff --git a/go.sum b/go.sum new file mode 100644 index 0000000..017d2dd --- /dev/null +++ b/go.sum @@ -0,0 +1,2 @@ +github.com/spf13/pflag v1.0.2 h1:Fy0orTDgHdbnzHcsOgfCN4LtHf0ec3wwtiwJqwvf3Gc= +github.com/spf13/pflag v1.0.2/go.mod h1:DYY7MBk1bdzusC3SYhjObp+wFpr4gzcvqqNjLnInEg4=