skooppaos/appserver-io-cli

CLI app for starting new projects and more.

dev-master 2016-06-07 06:18 UTC

This package is not auto-updated.

Last update: 2024-04-27 17:03:44 UTC


README

Commands to be made available in the CLI.

  • "about" command. This is the default and explains how the CLI works.

  • "new" command. creates a new project.

    • Arguments/ Options:

      • name - mandatory - The name of the project.
      • [--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 routltpackage.
    • Questions/ Parameters:

      • If the name of the project is missing from command, ask for it.
      • Ask for directory name.
      • Ask for org name
    • Tasks to do:

      • Create project/ application directory.
      • Create git repo.
      • Create composer project.
      • Create skeleton app.
      • If a package was added with ´--with´, install it.
  • "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.

    • Arguments: [name-of-directory] - mandatory - The name of the application directory.
    • .
  • "remove" command. To remove an application, which is no longer needed.

  • "environment" command. Changes the environment.

    • Arguments: [prod|dev] - To select between production or development modes.
    • .
  • "scanner" command. Creates a scanner to automatically restart appserver, when changes are made to a particular application's directory.

    • Arguments: [name-of-directory] - mandatory - The name of the directory under /webapps, which should be watched.
  • Arguments: [start|stop]