Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Print getHelp output when no parameter is passed to the builder script #142

Merged
merged 2 commits into from
Nov 19, 2024

Conversation

CarlosALgit
Copy link
Member

Related issue:

Description

The aim of this PR is to run the getHelp and show the usage options of the builder.sh script.

Tests

I peformed a test and run the builder.sh script with no parameters:

root@ubuntu-jammy:/home/vagrant/wazuh-installation-assistant# ./builder.sh 

NAME
        builder.sh - Builds the Wazuh installation assistant and tools.

SYNOPSIS
        builder.sh [-v] -i | -c | -p

DESCRIPTION
        -i,  --installer
                Builds the unattended installer single file wazuh-install.sh

        -c,  --cert-tool
                Builds the certificate creation tool wazuh-cert-tool.sh

        -p,  --password-tool
                Builds the password creation and modification tool wazuh-password-tool.sh

        -h,  --help
                Shows help.

@CarlosALgit CarlosALgit requested a review from a team November 18, 2024 12:28
@CarlosALgit CarlosALgit self-assigned this Nov 18, 2024
@CarlosALgit CarlosALgit linked an issue Nov 18, 2024 that may be closed by this pull request
@CarlosALgit CarlosALgit changed the title show getHelp when no parameter is passed to the builder script Print getHelp output when no parameter is passed to the builder script Nov 18, 2024
@c-bordon c-bordon merged commit e95059f into main Nov 19, 2024
@c-bordon c-bordon deleted the bug/24-add-parameters-validation-to-buildersh-script branch November 19, 2024 11:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add parameters validation to builder.sh script
3 participants