mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 12:54:40 +01:00
refactor dunction name to create_project_structure
This commit is contained in:
parent
7cf02d97ae
commit
71819f1ed6
2 changed files with 4 additions and 4 deletions
|
|
@ -46,7 +46,7 @@ class CoreAddon(BaseServerAddon):
|
|||
# Add 'Create Project Folder Structure' action to folders.
|
||||
output.append(
|
||||
SimpleActionManifest(
|
||||
identifier=f"{IDENTIFIER_PREFIX}.createprojectstructure",
|
||||
identifier=f"{IDENTIFIER_PREFIX}.create_project_structure",
|
||||
label="Create Project Folder Structure",
|
||||
icon={
|
||||
"type": "material-symbols",
|
||||
|
|
@ -76,10 +76,10 @@ class CoreAddon(BaseServerAddon):
|
|||
project_name = executor.context.project_name
|
||||
|
||||
if executor.identifier == \
|
||||
f"{IDENTIFIER_PREFIX}.createprojectstructure":
|
||||
f"{IDENTIFIER_PREFIX}.create_project_structure":
|
||||
return await executor.get_launcher_action_response(
|
||||
args=[
|
||||
"createprojectstructure",
|
||||
"create_project_structure",
|
||||
"--project", project_name,
|
||||
]
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue