Skip to content

Commit c05f4bd

Browse files
author
mirkobrombin
committed
add lib example
1 parent 1c865e4 commit c05f4bd

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

examples/example-lib.py

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
from easyterm import easyterm
2+
3+
easyterm.EasyTermLib(
4+
cwd='/',
5+
command='/bin/bash',
6+
env=[],
7+
actions=[
8+
{
9+
"name": "Hello",
10+
"icon": "emblem-favorite",
11+
"tooltip": "Say hello to the world",
12+
"command": "echo Hello World"
13+
}
14+
]
15+
)

0 commit comments

Comments
 (0)