|
|
@ -11,7 +11,7 @@ Mop is implemented in Go and compiles down to a single executable file. |
|
|
|
|
|
|
|
|
|
|
|
# Make sure your $GOPATH is set. |
|
|
|
# Make sure your $GOPATH is set. |
|
|
|
$ go get github.com/mop-tracker/mop/cmd/mop |
|
|
|
$ go get github.com/mop-tracker/mop/cmd/mop |
|
|
|
$ cd $GOPATH/src/github.com/mop-tracker/mop/cmd/mop |
|
|
|
$ cd $GOPATH/src/github.com/mop-tracker/mop |
|
|
|
$ make # <-- Compile and run mop. |
|
|
|
$ make # <-- Compile and run mop. |
|
|
|
$ make build # <-- Build mop in current directory. |
|
|
|
$ make build # <-- Build mop in current directory. |
|
|
|
$ make install # <-- Build mop and install it in $GOPATH/bin. |
|
|
|
$ make install # <-- Build mop and install it in $GOPATH/bin. |
|
|
@ -32,10 +32,9 @@ following keyboard commands: |
|
|
|
esc Quit mop. |
|
|
|
esc Quit mop. |
|
|
|
|
|
|
|
|
|
|
|
When prompted please enter comma-delimited list of stock tickers. The |
|
|
|
When prompted please enter comma-delimited list of stock tickers. The |
|
|
|
list and other settings are stored in ``.moprc`` file in your ``$HOME`` |
|
|
|
list and other settings are stored in the profile file (default: ``.moprc`` in your ``$HOME`` directory) |
|
|
|
directory. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#### Filtering |
|
|
|
### Expression-based Filtering |
|
|
|
Mop has an realtime expression-based filtering engine that is very easy to use. |
|
|
|
Mop has an realtime expression-based filtering engine that is very easy to use. |
|
|
|
|
|
|
|
|
|
|
|
At the main screen, press `f` and a prompt will appear. Now you can |
|
|
|
At the main screen, press `f` and a prompt will appear. Now you can |
|
|
@ -55,6 +54,8 @@ For detailed information about the syntax, please refer to [Knetic/govaluate#wha |
|
|
|
|
|
|
|
|
|
|
|
To clear the filter, press `Shift+F`. |
|
|
|
To clear the filter, press `Shift+F`. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
You can specify the profile you want to use by passing ``-profile <filename>`` to the command-line. |
|
|
|
|
|
|
|
|
|
|
|
### Contributing ### |
|
|
|
### Contributing ### |
|
|
|
|
|
|
|
|
|
|
|
[![Gitter](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/michaeldv/mop?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge) |
|
|
|
[![Gitter](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/michaeldv/mop?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge) |
|
|
|