Skip to content

Syntax Changes #79

@rahul286

Description

@rahul286

Lets do it before its too late! (Actually it will never will too late, it will just create inconvenience for too many people!)

Lets stick to git site convention to reduce learning curve:

We divide git into high level ("porcelain") commands and low level ("plumbing") commands.

Main syntax will be like:

ee [--options] <command> [<args>]

L1 - ee itself
L2 - ee <command>
L3 - ee <command> <sub-command> module

No changes for ee system

ee system install <parameters>  [--options]
L1    L2       L3        

In future system command will have options for showing logs on screen, auto-accept packages (y) etc.

Major changes for site commands

ee site  create <parameters> [--options]
L1  L2  L3        

--html
--php
--wp (implies --php and --mysql)
--mysql

Also,
--wp > wp basic
--wp --subdomain > multisite with subdomain
--wp --subdir > multisite with subdir

--subdomain or --subdir implies --wp --php --mysql

ee site create test.com --wp
ee site create test.com

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions