concrete5-community / cli

Unofficial concrete5 CLI Tool
MIT License
5 stars 4 forks source link

Plan initial functionality #1

Open KorvinSzanto opened 7 years ago

KorvinSzanto commented 7 years ago

The broad stroke list is:

  1. Globally installed
  2. Manages concrete5 instances v7+
  3. Imports commands from the concrete5 instance
  4. Has most or all of the features of the current core CLI tool
KorvinSzanto commented 7 years ago

In order to draw in users and provide a value above the current CLI implementation, we should have the ability to generate specific working structures like Blocks, Themes and Packages within a concrete5 site.

c5 packages:stub:create
c5 blocks:stub:create
c5 themes:stub:create

Should we try to support this in v1? or is this a feature we should release in 1.1?

matt9mg commented 7 years ago

I think for version 1 having a vanilla just install the c5 app and prompt for basic install creds should be enough for v1 :)

matt9mg commented 7 years ago

Was just wondering when you do c5 install would be a good thing if we could run

c5 install v5.7 c5 install v5.8 or if just c5 install which gets the latest version of c5 by default.

I'm quite a big fan of the symfony installer

What do you think?

KorvinSzanto commented 7 years ago

I don't think there's any reason to install v7 at this point honestly. The work with composer in v8.0.0 makes install easy, v7 install is much harder.

Also I don't think there's much value in a tool that only installs c5. You can install c5 via composer already. On Thu, Mar 2, 2017 at 2:24 AM Matthew Thomas notifications@github.com wrote:

Was just wondering when you do c5 install would be a good thing if we could run

c5 install v5.7 c5 install v5.8 or if just c5 install which gets the latest version of c5 by default.

I'm quite a big fan of the symfony installer

What do you think?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/concrete5/cli/issues/1#issuecomment-283587746, or mute the thread https://github.com/notifications/unsubscribe-auth/AA9fO4gF_bMVxMb_nf35rzMGw73Xh0woks5rhnylgaJpZM4MPy5- .

matt9mg commented 7 years ago

Sweet I didn't realise when you download C5 with composer it would also run the installation.

Well in that case I've asked around a handfull of developers and it seems that for v1 they are all saying the same thing.

Going along with your suggestions above create stubs for those is a great idea.

I think for v2 you could extend the above where more prompts would be asked such as generate ORM in package or DB.xml

What do you think about the above?