diff --git a/pyproject.toml b/pyproject.toml index a31ee88..586a1e1 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -29,10 +29,6 @@ dependencies = [ ] -[project.entry-points."rattail.subcommands"] -import-wave = "rattail_wave.commands:ImportWave" - - [project.entry-points."rattail.typer_imports"] rattail_wave = "rattail_wave.commands" diff --git a/rattail_wave/commands.py b/rattail_wave/commands.py index 9796ace..00586dc 100644 --- a/rattail_wave/commands.py +++ b/rattail_wave/commands.py @@ -26,7 +26,7 @@ rattail-wave commands import typer -from rattail.commands import rattail_typer, ImportSubcommand +from rattail.commands import rattail_typer from rattail.commands.typer import importer_command, typer_get_runas_user from rattail.commands.importing import ImportCommandHandler @@ -46,12 +46,3 @@ def import_wave( config, import_handler_key='to_rattail.from_wave.import') kwargs['user'] = typer_get_runas_user(ctx) handler.run(kwargs, progress=progress) - - -class ImportWave(ImportSubcommand): - """ - Import data to Rattail, from Wave API - """ - name = 'import-wave' - description = __doc__.strip() - handler_key = 'to_rattail.from_wave.import'