mishmash.commands.mgmt module

class mishmash.commands.mgmt.MergeArtists(subparsers=None, **kwargs)[source]

Bases: mishmash.core.Command

Construct a command. Any kwargs are added to the class object using setattr. All commands have an ArgumentParser, either constructed here or when subparsers is given a new parser is created using its add_parser method.

HELP = 'Merge two or more artists into a single artist.'
NAME = 'merge-artists'
class mishmash.commands.mgmt.SplitArtists(subparsers=None, **kwargs)[source]

Bases: mishmash.core.Command

Construct a command. Any kwargs are added to the class object using setattr. All commands have an ArgumentParser, either constructed here or when subparsers is given a new parser is created using its add_parser method.

HELP = 'Split a single artist name into N distinct artists.'
NAME = 'split-artists'