******************************
* Project command lines e.g. *
******************************


[ Add a new project ]

    You have 2 ways of creating your project

    1st method
    ----------
    $ gina project:add @<project_name> [ —-path=/var/www/<project_name> ] (if no path given, will take the current)

    where `/var/www/<project_name>` is the destination path
    NB.: `--path` can also be a relative path like `--path=./` or `--path=./<project_name>`
    If you do not specifiy a `<project_name>` for the `--path` argument , gina will reuse the one you used with `@<project_name>`

    This command line also supports relative path like `--path=./<project_name>`

    $ gina project:add @<project_name> [ —-path=/var/www/<project_name> ][ --homedir=~/.<project_name>/v2 ]
    where `~/.<project_name>/v2` is the project homedir path
    If you do not specifiy a `.<project_name>` for the `--homedir` argument , gina will reuse the one you used with `@<project_name>`

    2nd method
    ----------
    From current project path : project name will be by default the current project folder name
    $ gina project:add


[ Import an existing project ]
    Works just like `project:add` task. It will also do some extra checking.

    $ gina project:import @<project_name> [ —-path=/var/www/<project_name> ] (if no path given, will take the current)


[ List projects ]

    $ gina project:list [ [ --more ] | [-b | --with-bundles] | [-e | --with-envs] ]


[ Show project status ]

    Shows the running/stopped state, PID, and port of each bundle in the project.
    With no @<project>, reports every registered project.

    $ gina project:status @<project_name>

    or for every registered project

    $ gina project:status

    or as JSON

    $ gina project:status @<project_name> --format=json


[ Start project ]

    $ gina project:start @<project_name> [ --env=dev, --scope=local, --inspect-brk=5000 ]


[ Restart project ]

    Will restart project with the last known environment

    $ gina project:restart @<project_name>


[ Stop project ]

    Will stop all running bundles in the project

    $ gina project:stop @<project_name>



[ Remove an existing project ]

    $ gina project:remove @<project_name> [ -f (remove all related sources without prompting) ]


[ Rename project ]

    $ gina project:rename @<project_name> @<new_project_name>


[ Build project ]

    $ gina project:build @<project_name> --scope=local --env=prod

[ Backup project ]

    N.B.: Only available when ordering for supoort

    $ gina project:backup @<project_name> --path=/var/dump --with-password


[ Restore project ]

    N.B.: Only available when ordering for support

    $ gina project:restore /var/dump/myproject.tar.gz (will restore in current path)
    or
    $ gina project:restore myproject.tar.gz  (will restore from current path to current path: myproject.gna must be under the PWD)
    or
    $ gina project:restore /var/dump/myproject.tar.gz —-path=/other/path
