Giblog::Command::all - all command
Giblog::Command::all is the command to execute "giblog build", "giblog save", "giblog publish", and "giblog deploy" at once.
giblog all -m COMMIT_COMMENT REMOTE_REPOSITORY BRANCH giblog all -m COMMIT_COMMENT --no-build REMOTE_REPOSITORY BRANCH giblog all -m COMMIT_COMMENT --no-save REMOTE_REPOSITORY BRANCH giblog all -m COMMIT_COMMENT --no-publish REMOTE_REPOSITORY BRANCH giblog all -m COMMIT_COMMENT --no-deploy REMOTE_REPOSITORY BRANCH
Giblog::Command::all inherits all methods from Giblog::Command and implements the following new ones.
$command->run('-m', $message, $remote_repository, $branch); $command->run('-m', $message, '--no-build', $remote_repository, $branch); $command->run('-m', $message, '--no-save', $remote_repository, $branch); $command->run('-m', $message, '--no-publish', $remote_repository, $branch); $command->run('-m', $message, '--no-deploy', $remote_repository, $branch);
all command executes the following git commands(giblog build, giblog save, giblog publish).
This is the same as the following command. In this example, the commit message is "Hello". the repository name is "origin". the branch name is "main".
giblog build giblog save -m "Hello" origin main giblog publish origin main
If --no-build option is specified, "giblog build" is not executed.
--no-build
If --no-save option is specified, "giblog save" is not executed.
--no-save
If --no-publish option is specified, "giblog publish" is not executed.
--no-publish
If --no-deploy option is specified, "giblog deploy" is not executed.
--no-deploy
To install Giblog, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Giblog
CPAN shell
perl -MCPAN -e shell install Giblog
For more information on module installation, please visit the detailed CPAN module installation guide.