File tree Expand file tree Collapse file tree 3 files changed +49
-0
lines changed Expand file tree Collapse file tree 3 files changed +49
-0
lines changed Original file line number Diff line number Diff line change
1
+ clever_age_process :
2
+ configurations :
3
+ demo.archive.unzip :
4
+ description : >
5
+ A sample process to unzip an archive from local storage
6
+ help : >
7
+ bin/console cleverage:process:execute demo.archive.unzip
8
+ options :
9
+ ui :
10
+ source : Bar
11
+ target : Foo
12
+ tasks :
13
+ constant :
14
+ service : ' @CleverAge\ProcessBundle\Task\ConstantOutputTask'
15
+ options :
16
+ output :
17
+ filename : ' %kernel.project_dir%/var/data/archive.zip'
18
+ destination : ' %kernel.project_dir%/var/data/unzip_archive'
19
+ outputs : entry
20
+ entry :
21
+ service : ' @CleverAge\ArchiveProcessBundle\Task\UnzipTask'
22
+ outputs : directory
23
+ directory :
24
+ service : ' @CleverAge\ProcessBundle\Task\File\InputFolderBrowserTask'
25
+ outputs : debug
26
+ debug :
27
+ service : ' @CleverAge\ProcessBundle\Task\Debug\DebugTask'
Original file line number Diff line number Diff line change
1
+ clever_age_process :
2
+ configurations :
3
+ demo.archive.zip :
4
+ description : >
5
+ A sample process to zip files from local storage
6
+ help : >
7
+ bin/console cleverage:process:execute demo.archive.zip
8
+ options :
9
+ ui :
10
+ source : Bar
11
+ target : Foo
12
+ tasks :
13
+ entry :
14
+ service : ' @CleverAge\ArchiveProcessBundle\Task\ZipTask'
15
+ options :
16
+ filename : ' %kernel.project_dir%/var/data/zip_archive.zip'
17
+ files :
18
+ - ' %kernel.project_dir%/var/data/sample.txt'
19
+ files_base_path : ' %kernel.project_dir%/var/data'
20
+ outputs : debug
21
+ debug :
22
+ service : ' @CleverAge\ProcessBundle\Task\Debug\DebugTask'
You can’t perform that action at this time.
0 commit comments