Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
cutelyst2(1)		    General Commands Manual		  cutelyst2(1)

NAME
       cutelyst2 - Developer Helper Application	for the	Cutelyst Web Framework

SYNOPSIS
       cutelyst2 [OPTIONS]

DESCRIPTION
       cutelyst2 is a command line utility to help developers creating new ap-
       plications for the Cutelyst Web Framework. It can create	a skeleton for
       a new application, controllers and start	your application.

OPTIONS
   Generic Program Information
       -h, --help
	      Output a usage message and exit

       -v, --version
	      Output the version number	of cutelyst2 and exit.

   Creating skeletons
       --create-app app_name
	      Creates a	new Cutelyst application with the given	app_name.

       --controller controller_name
	      Create a new Controller for your application with	the given con-
	      troller_name.

   Development Server
       --server
	      Starts a HTTP server.

       --app-file file_name
	      Application  file	 to  use   with	  the	server	 (usually   in
	      build/src/lib*.so), if not set it	will try to autodetect.

       -p, --server-port port
	      Port used	by the development server.

       -r, --restart
	      Restarts	the  development  server  when	the  application  file
	      changes.

EXIT STATUS
       Returns 0 on success and	1 on failure.

BUGS
       File  bug  reports  to  the  issue  system  of	the   GitHub   project
       <https://github.com/cutelyst/cutelyst/issues>.

EXAMPLE
   Create application
       cutelyst2 --create-app MyCutelystApp

   Create controller
       cutelyst2 --contoller MyNewController

   Start server
       cutelyst2 --server --app-file build/src/libMyCutelystApp.so -p 8080 -r

SEE ALSO
       cutelyst-wsgi2(1)

cutelyst2 2.11.0		  2018-01-12			  cutelyst2(1)

NAME | SYNOPSIS | DESCRIPTION | OPTIONS | EXIT STATUS | BUGS | EXAMPLE | SEE ALSO

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=cutelyst2&sektion=1&manpath=FreeBSD+12.1-RELEASE+and+Ports>

home | help