1.1.0 • Published 3 years ago

@sebastiansiejek/ewp v1.1.0

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

ewp

CLI for Empressia wordpress template

Usage

$ npm link
USAGE
  $ ewp COMMAND
  $ ewp help
...

Install

npm install -g @sebastiansiejek/ewp

Getting Started

  1. Install and authenticate Github CLI
    1. gh auth login

Commands

component

ewp component -h

create

ewp component create

  • Create PHP file
  • Create Twig file
  • Create SCSS file
  • Create TypeScript file
  • Append component to ACF
  • Append component to style.scss

npm

  • ewp npm -h - help
  • ewp npm install <packageName> - install npm dependencies
  • ewp npm uninstall <packageName> - uninstall npm dependencies
  • ewp npm run <script> - run npm script

composer

  • ewp composer -h - help
  • ewp composer install <packageName> - install composer package
  • ewp composer uninstall <packageName> - uninstall composer package
  • ewp composer generate-classes - generate all classes by dump-autoload -o

Github

  • ewp gh -h - help

Create repo

  • ewp gh:create-repo
    • -n - name
    • -c - clone

ex. ewp gh:create-repo --clone --name="project1"

Set secrets

  • ewp gh:set-secrets

WordPress

  • ewp wp -h - help

Set secrets

  • ewp wp:set-secrets

Create WordPress post type

  • ewp wp:create-post-type

Create WordPress taxonomy

  • ewp wp:create-taxonomy

self

  • ewp self update - update self cli

Develop

  • npm link - making local CLI available in terminal
    • You should restart open terminal
    • You can also run cli by local path (which ewp)
1.1.0

3 years ago

1.0.11

3 years ago

1.0.10

3 years ago

1.0.9

3 years ago

1.0.8

3 years ago

1.0.7

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.6

4 years ago

1.0.5

4 years ago

1.0.4

4 years ago

1.0.3

4 years ago

1.0.0

4 years ago

0.0.0

4 years ago