Add example

This commit is contained in:
Daniel Siepmann 2023-02-07 08:10:51 +01:00
parent 808da86d12
commit 97a389909d
Signed by: Daniel Siepmann
GPG key ID: 33D6629915560EF4

View file

@ -9,7 +9,7 @@ use Symfony\Component\Console\SingleCommandApplication;
(new SingleCommandApplication()) (new SingleCommandApplication())
->setName('Cutvideo') ->setName('Cutvideo')
->setHelp('Allows to cut a given video multiple times. Uses ffmpeg under the hood.') ->setHelp('Allows to cut a given video multiple times. Uses ffmpeg under the hood. Example: cutvideo Alf_season-1_episode-20_der-rollentausch_nq.mp4 08:05 38:24 --ad=26:22/33:08')
->setVersion('0.1.0') ->setVersion('0.1.0')
->addArgument('file', InputArgument::REQUIRED, 'The video file to cut.') ->addArgument('file', InputArgument::REQUIRED, 'The video file to cut.')
->addArgument('start', InputArgument::REQUIRED, 'The starting point of the video') ->addArgument('start', InputArgument::REQUIRED, 'The starting point of the video')