NAME

Giblog::Command::all - all command

DESCRIPTION

Giblog::Command::all is all command to execute "giblog build", "giblog save", and "giblog publish".

USAGE

giblog all -m COMMIT_COMMENT REMOTE_REPOSITORY BRANCH

giblog all -m COMMIT_COMMENT --deploy REMOTE_REPOSITORY BRANCH

METHODS

Giblog::Command::all inherits all methods from Giblog::Command and implements the following new ones.

run

$command->run('-m', $message, $remote_repository, $branch);
$command->run('-m', $message, '--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 --deploy option is specified, "giblog deploy" is executed after executing "giblog all" command.