1.1.0 • Published 1 year ago

@sebastiansiejek/ewp v1.1.0

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year 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

1 year ago

1.0.11

2 years ago

1.0.10

2 years ago

1.0.9

2 years ago

1.0.8

2 years ago

1.0.7

2 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.6

3 years ago

1.0.5

3 years ago

1.0.4

3 years ago

1.0.3

3 years ago

1.0.0

3 years ago

0.0.0

3 years ago