@ship.command('new')
@click.argument('name')
def ship_new(name):
 click.echo(('Created ship %s' % name))

@ ship . command ( 'new' ) @ click . argument ( 'name' ) def ship_new ( name ) : click . echo ( ( 'Created ship %s' % name ) )
creates a new ship .