personal tools to speed up the developing process
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore
LICENSE
README.md
calc-time
calc-time.bat
calc-time.php
codeable
codeable.bat
codeable.php
composer.json
composer.lock
ffmpeg-mpeg2video.bat
git-clean
git-clean.bat
gputhermal.bat
gputhermal.php
mp4-720.bat
new-plugin
new-plugin.bat
new-plugin.php
new-wordpress.php
svg_stack.py
wp
wp-new.bat
wp-package
wp-package.bat
wp-package.php
wp.bat
wpshell.bat

README.md

Alias Tools

Personal tools to speed up the developing process

Usage

Package WordPress plugin or theme

wp-package [dir-name] [version="auto-detect"]

ex: wp-package my-plugin Generates a zip file names my-plugin-ver-1.0.zip with version number detected automatically.

wp-package my-plugin 1.2 Generates a zip file names my-plugin-ver-1.2.zip with version number forced.

Create/Update WordPress installation

wpnew [new|update] [dir-name] [dbname] [dbuser] [dbpass=""] [dbhost="localhost"] [dbprefix="wp_"] [dbcharset="utf8"] [dbcollate=""] [locale=""]

ex: wp-new new testwp testdb root pass Creates new WordPress installation named testwp contected to database named testdb with username of root and password of pass.

wp-new update store shop shop-user shop-pass 127.0.0.1 Updates existing WordPress installation named store database connection to shop hosted in IP 127.0.0.1 with username of shop-root and password of shop-pass

Notes

  • Arguments passed without the [] characters.
  • Arguments that optional, have a default value like [dbhost="localhost"] other than that, it's a required argument.
  • These tools are customized for personal needs and may not suite your needs 100%, but I am open for suggestions, just ping me or open a issue.

License

The MIT License (MIT)