If -h or --help is passed at the command line and:
No pinto command is specified, print root level help
A pinto command is specified and we're not running a project, print the command's help
pinto run is specified and the specified project is a Project (not a Pipeline) but no arguments other than the help flag is passed, print the pinto run help (including a list of the installed scripts in the project)
pinto run is specified and the specified project is a Project (not a Pipeline) and any other arguments are specified, pass the arguments - including the help flag - to Project.run unchanged
If
-h
or--help
is passed at the command line and:pinto
command is specified, print root level helppinto
command is specified and we're not running a project, print the command's helppinto run
is specified and the specified project is aProject
(not aPipeline
) but no arguments other than the help flag is passed, print thepinto run
help (including a list of the installed scripts in the project)pinto run
is specified and the specified project is aProject
(not aPipeline
) and any other arguments are specified, pass the arguments - including the help flag - toProject.run
unchanged