forked from zhongwencool/observer_cli
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmix.exs
More file actions
37 lines (34 loc) · 1.23 KB
/
mix.exs
File metadata and controls
37 lines (34 loc) · 1.23 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
defmodule ObserverCli.MixProject do
use Mix.Project
def project do
[
app: :observer_cli,
version: "1.8.7",
language: :erlang,
description: "observer in shell",
deps: [
{:recon, "~> 2.5.6"}
]
]
end
def application do
[
env: [
# {:formatter, #{
# :application => atom(), - Formatter application. observer_cli loads all it's modules to remote node.
# :mod => module() - observer_cli_formatter implementation.
# }},
# scheduler_usage: :enable, # default value is 'disable', uncomment to enable by default
plugins: [
# module - Specific module implements plugin behavior. It's mandatory.
# title - Menu title. It's mandatory.
# shortcut - Switch plugin by shortcut. It's mandatory.
# interval - Refresh interval ms. It's options. default is 1500ms.
# sort_column - Sort the sheet by this index. It's options default is 2.
# %{module: ObserverCli.Plug1, title: "Example-1", interval: 1500, shortcut: "S", sort_column: 3},
# %{module: ObserverCli.Plug2, title: "Example-2", interval: 1600, shortcut: "D", sort_column: 2}
]
]
]
end
end