Skip to content

Commit 2d7cd28

Browse files
author
mirkobrombin
committed
document actions
1 parent f8ef878 commit 2d7cd28

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

README.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,14 @@ import easyterm
3535
easyterm.EasyTerm(
3636
cwd='/path',
3737
command='/bin/bash',
38-
env=[]
38+
env=[],
39+
actions=[
40+
{
41+
"name": "Hello",
42+
"icon": "emblem-favorite",
43+
"tooltip": "Say hello to the world",
44+
"command": "echo Hello World"
45+
}
46+
]
3947
)
4048
```

0 commit comments

Comments
 (0)