mirror of
https://github.com/spiral-project/ihatemoney.git
synced 2025-05-05 12:41:49 +02:00
Rename manage.ConfigTemplate → manage.GenerateConfig
To be consistent with the CLI name: `generate-config`.
This commit is contained in:
parent
3b2e11ab63
commit
7e60354c14
1 changed files with 2 additions and 2 deletions
|
@ -24,7 +24,7 @@ class GeneratePasswordHash(Command):
|
|||
print(generate_password_hash(password))
|
||||
|
||||
|
||||
class ConfigTemplate(Command):
|
||||
class GenerateConfig(Command):
|
||||
def get_options(self):
|
||||
return [
|
||||
Option('config_file', choices=[
|
||||
|
@ -74,7 +74,7 @@ def main():
|
|||
manager = Manager(app)
|
||||
manager.add_command('db', MigrateCommand)
|
||||
manager.add_command('generate_password_hash', GeneratePasswordHash)
|
||||
manager.add_command('generate-config', ConfigTemplate)
|
||||
manager.add_command('generate-config', GenerateConfig)
|
||||
manager.run()
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue