Init NDR Core

This file holds the init_dr_core management command class.

class ndr_core.management.commands.init_ndr_core.Command(stdout=None, stderr=None, no_color=False, force_color=False)
add_arguments(parser)

Entry point for subclassed commands to add custom arguments.

handle(*args, **options)

The actual logic of the command. Subclasses must implement this method.

help = 'This command initializes your ndr_core app.'
print_error(message)

Prints an error message to the console.

print_output(message)

Prints a message to the console.

print_success(message)

Prints a success message to the console.

print_warn(message)

Prints a warning message to the console.

Clean NDR Core

class ndr_core.management.commands.clean_ndr_core.Command(stdout=None, stderr=None, no_color=False, force_color=False)
add_arguments(parser)

Entry point for subclassed commands to add custom arguments.

handle(*args, **options)

The actual logic of the command. Subclasses must implement this method.

help = 'Cleans generated ndr_core app with all its assets. This will break your ndr_core installation.'