Skip to content

Commit 3f8d311

Browse files
author
David Revelo
committed
README.md updated
1 parent 95983e7 commit 3f8d311

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

README.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,24 @@
11
# exec_dialog
22
Dialog box for executing a command list using a POSIX shell
3+
4+
## execution
5+
```
6+
./di-exec.sh
7+
```
8+
9+
## Listed commands
10+
Commands that should appear in the execution interface must be placed in the file:
11+
```
12+
$ ./config/options.json
13+
```
14+
Every command must contain 2 values:
15+
- caption: Text to be showed in the program interface
16+
- command: The command it self, if the command uses quotes use simple ones to avoid conflict with json syntax.
17+
18+
```
19+
{
20+
"options": [
21+
{"caption":"cat", "command":"cat /etc/hosts"},
22+
]
23+
}
24+
```

0 commit comments

Comments
 (0)