Scroll to navigation

objfw-new(1) General Commands Manual objfw-new(1)

NAME

objfw-new - create source code from templates

SYNOPSIS

objfw-new --app|--class|--test [--superclass=class] [--property=property] name

DESCRIPTION

objfw-new is a program which creates source code from templates.

OPTIONS

Create a new app.
Create a new class.
Show the help.
Add a property to the class. See examples for syntax.
Create a new test.

EXAMPLES

Create a new application:

objfw-new -a MyApp

Create a new class Dog with a property name and superclass Animal:

objfw-new -c -s Animal -p '(copy, nonatomic) OFString *name' Dog

Create a new test:

objfw-new -t DogTest

SEE ALSO

objfw-compile(1)