mirror of
https://github.com/alicevision/Meshroom.git
synced 2025-04-28 17:57:16 +02:00
29 lines
671 B
Python
29 lines
671 B
Python
from meshroom.core import desc
|
|
|
|
|
|
class AppendText(desc.CommandLineNode):
|
|
commandLine = 'cat {inputValue} > {outputValue} && echo {inputTextValue} >> {outputValue}'
|
|
|
|
inputs = [
|
|
desc.File(
|
|
name='input',
|
|
label='Input File',
|
|
description='''''',
|
|
value='',
|
|
),
|
|
desc.File(
|
|
name='inputText',
|
|
label='Input Text',
|
|
description='''''',
|
|
value='',
|
|
)
|
|
]
|
|
|
|
outputs = [
|
|
desc.File(
|
|
name='output',
|
|
label='Output',
|
|
description='''''',
|
|
value='{nodeCacheFolder}/appendText.txt',
|
|
),
|
|
]
|