Commands to be made available in the CLI.
[x] "about" command. This is the default and explains how the CLI works.
[x] "new" command. creates a new project.
Arguments/ Options:
[x] name - mandatory - The name of the project.
[x] [--with] - optional - the "with" parameter allows you to add different applications into the project automatically. For instance "--with routlt" will install the project with the routlt
package.
Questions/ Parameters:
[x] If the name of the project is missing from command, ask for it.
[x] Ask for directory name.
[x] Ask for org name
Tasks to do:
[ ] "install" command. To install full prebuilt applications. "appserver install example" will install the example app automatically.
[ ] "restart" command. This is for restarting appserver.
[ ] "virtual-host" command. To create a new virtual host for a particular app. The app must be created first.
[ ] "remove" command. To remove an application, which is no longer needed.
[ ] "environment" command. Changes the environment.
[ ] "scanner" command. Creates a scanner to automatically restart appserver, when changes are made to a particular application's directory.
/webapps
, which should be watched.