Skip to content

Add full version in help. #176

@laurentmuller

Description

@laurentmuller

For now when we type the following command:

php .\deployment.phar

The output is as follow;

FTP deployment v3.6
-------------------
Usage:
        deployment <config_file> [-t | --test]

Options:
        -t | --test       Run in test-mode.
        --section <name>  Only deploys the named section.
        --generate        Only generates deployment file.
        --no-progress     Hide the progress indicators.

This will be nice if in help command we can see the full version:

FTP deployment v3.6.2
---------------------
Usage:
        deployment <config_file> [-t | --test]

Options:
        -t | --test       Run in test-mode.
        --section <name>  Only deploys the named section.
        --generate        Only generates deployment file.
        --no-progress     Hide the progress indicators.

It's just matter to update the loadConfig() function of the CliRunner class every time You create a new version.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions