Python: recognize fabric.operations

This commit is contained in:
Rasmus Lerchedahl Petersen
2024-06-24 10:54:59 +02:00
parent 21a0f8af07
commit 00fbada41d
2 changed files with 7 additions and 2 deletions

View File

@@ -12,3 +12,8 @@ sudo("cmd1; cmd2") # $getCommand="cmd1; cmd2"
local(command="cmd1; cmd2") # $getCommand="cmd1; cmd2"
run(command="cmd1; cmd2") # $getCommand="cmd1; cmd2"
sudo(command="cmd1; cmd2") # $getCommand="cmd1; cmd2"
from fabric import operations
operations.local("cmd1; cmd2") # $getCommand="cmd1; cmd2"
operations.local(command="cmd1; cmd2") # $getCommand="cmd1; cmd2"