fix: remove legacy command definitions
This commit is contained in:
parent
d419bc1854
commit
ff202415e3
2 changed files with 1 additions and 14 deletions
|
@ -26,7 +26,7 @@ rattail-harvest 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_harvest(
|
|||
config, import_handler_key='to_rattail.from_harvest.import')
|
||||
kwargs['user'] = typer_get_runas_user(ctx)
|
||||
handler.run(kwargs, progress=progress)
|
||||
|
||||
|
||||
class ImportHarvest(ImportSubcommand):
|
||||
"""
|
||||
Import data to Rattail, from Harvest API
|
||||
"""
|
||||
name = 'import-harvest'
|
||||
description = __doc__.strip()
|
||||
handler_key = 'to_rattail.from_harvest.import'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue