Add option api and test
This commit is contained in:
@@ -11,6 +11,7 @@ from .s11_patterns import *
|
||||
from .s12_curves import *
|
||||
from .s16_emitters import *
|
||||
from .s21_times import *
|
||||
from .s23_options import *
|
||||
|
||||
|
||||
def execute_add_command(name: str, cs: ChangeSet) -> ChangeSet:
|
||||
@@ -61,6 +62,8 @@ def execute_update_command(name: str, cs: ChangeSet) -> ChangeSet:
|
||||
return set_emitter(name, cs)
|
||||
elif type == 'time':
|
||||
return set_time(name, cs)
|
||||
elif type == 'option':
|
||||
return set_option(name, cs)
|
||||
|
||||
return ChangeSet()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user