pronamic/pronamic-cli

There is no license information available for the latest version (v1.1.1) of this package.

Pronamic CLI is the command-line interface for Pronamic.

v1.1.1 2024-08-01 14:04 UTC

This package is auto-updated.

Last update: 2024-12-01 00:08:54 UTC


README

Pronamic CLI is the command-line interface for Pronamic.

Table of contents

Commands

changelog

Show the changelong entry of a specific version from CHANGELOG.md.

vendor/bin/pronamic changelog 1.0.0

Examples

vendor/bin/pronamic deploy easycruit https://gitlab.com/pronamic-plugins/easycruit.git --to-s3 -vvv
vendor/bin/pronamic deploy pronamic-client https://github.com/pronamic/wp-pronamic-client.git --to-s3 --to-wp-org -vvv
vendor/bin/pronamic deploy pronamic-events https://github.com/pronamic/wp-pronamic-events.git --to-s3 --to-wp-org -vvv
vendor/bin/pronamic deploy pronamic-ideal https://github.com/pronamic/wp-pronamic-ideal.git --to-s3 --to-wp-org -vvv
vendor/bin/pronamic deploy pronamic-ideal https://github.com/pronamic/wp-pronamic-ideal.git --branch=develop --to-s3 -vvv
vendor/bin/pronamic deploy woocommerce-bulk-product-variations https://gitlab.com/pronamic-plugins/woocommerce-bulk-product-variations.git --to-s3 -vvv
vendor/bin/pronamic deploy pronamic-pay-adyen https://github.com/wp-pay-gateways/adyen.git --to-s3 -vvv
vendor/bin/pronamic deploy pronamic-pay-adyen https://github.com/wp-pay-gateways/adyen.git --to-s3 -vvv
vendor/bin/pronamic deploy pronamic-pay-contact-form-7 https://github.com/pronamic/wp-pronamic-pay-contact-form-7.git --to-s3 -vvv
vendor/bin/pronamic deploy pronamic-pay-contact-form-7 https://github.com/pronamic/wp-pronamic-pay-contact-form-7.git --to-s3 -vvv
vendor/bin/pronamic deploy pronamic-pay-digiwallet https://github.com/pronamic/wp-pronamic-pay-digiwallet.git --branch=main --to-s3 -vvv
vendor/bin/pronamic deploy pronamic-pay-fundraising https://github.com/pronamic/wp-pronamic-pay-fundraising.git --to-s3 -vvv
vendor/bin/pronamic deploy pronamic-pay-paypal https://github.com/pronamic/wp-pronamic-pay-paypal.git --to-s3 -vvv
vendor/bin/pronamic deploy pronamic-pay-payvision https://github.com/pronamic/wp-pronamic-pay-payvision.git --branch=main --to-s3 -vvv

Alternatives

Here is a list of alternatives that we found. However, none of these satisfied our requirements.

If you know other similar projects, feel free to edit this section!

Git checkout

https://www.git-scm.com/docs/git-clone

git clone https://github.com/pronamic/wp-pronamic-ideal.git git/pronamic-ideal

Update

cd svn/pronamic-ideal

svn update

cd ../../
cd git/pronamic-ideal

git pull

cd ../../

Checkout

cd git/pronamic-ideal

git checkout tags/5.4.1

composer install --no-dev --prefer-dist

cd ../../

Build

rm -r build/pronamic-ideal

mkdir build/pronamic-ideal

rsync --recursive --delete --exclude-from=exclude.txt ./git/pronamic-ideal/ ./build/pronamic-ideal/

Create ZIP

mkdir zip/pronamic-ideal

zip -r ./zip/pronamic-ideal/pronamic-ideal.5.4.1.zip ./build/pronamic-ideal/*

Create tar.gz

mkdir tar/pronamic-ideal

tar -zcvf ./tar/pronamic-ideal/pronamic-ideal.5.4.1.tar.gz ./build/pronamic-ideal/*

Requirements

# GNU tools on Mac.
# https://www.topbug.net/blog/2013/04/14/install-and-use-gnu-command-line-tools-in-mac-os-x/

# GNU `cat`
brew install coreutils

# GNU `xargs`:
# https://superuser.com/questions/467176/replacement-for-xargs-d-in-osx
brew install findutils --with-default-names

# GNU `grep`:
# https://apple.stackexchange.com/questions/193288/how-to-install-and-use-gnu-grep-in-osx
brew install grep --with-default-names

# AWS Command Line Interface
# https://aws.amazon.com/cli/
brew install awscli

Links