Обновить executor/cli/execute.py
All checks were successful
Test Actions / Builder (push) Successful in 27s
All checks were successful
Test Actions / Builder (push) Successful in 27s
This commit is contained in:
@@ -1,6 +1,19 @@
|
|||||||
__author__ = 'RemiZOffAlex'
|
__author__ = 'RemiZOffAlex'
|
||||||
__email__ = 'remizoffalex@mail.ru'
|
__email__ = 'remizoffalex@mail.ru'
|
||||||
|
|
||||||
|
from executor.engine import Engine
|
||||||
|
from executor.core import config
|
||||||
|
|
||||||
|
|
||||||
def handle_execute(args):
|
def handle_execute(args):
|
||||||
print('args', args)
|
print('args', args)
|
||||||
|
variables = {
|
||||||
|
'print': print,
|
||||||
|
}
|
||||||
|
engine = Engine()
|
||||||
|
for key in variables:
|
||||||
|
engine.variable_addition(key, variables[key])
|
||||||
|
|
||||||
|
source = {}
|
||||||
|
|
||||||
|
engine.visit(source)
|
||||||
|
|||||||
Reference in New Issue
Block a user