watson.framework.support.console.commands.project

class watson.framework.support.console.commands.project.Project[source]

Creating and maintaining Watson projects.

Example:

config()[source]

Prints out the applications configuration.

new(name, app_name, dir, override, component_based)[source]

Creates a new project, defaults to the current working directory.

Parameters:
  • name – The name of the project
  • app_name – The name of the application to create
  • dir – The directory to create the project in
  • override – Override any existing project in the path
  • component_based – Create component based structure
routes(path, method, format, server)[source]

Aids in the debugging of routes associated.

Parameters:
  • path – Validate the specified path against the router
  • method – The http request method
  • format – The http request format
  • server – The hostname of the request
test()[source]

Runs the unit tests for the project.