Capitalize the name Messkit

sounds more official that way..?
This commit is contained in:
Lance Edgar 2022-03-03 21:06:49 -06:00
parent 7058ebf75e
commit ec84808332
14 changed files with 86 additions and 86 deletions

View file

@ -1,27 +1,27 @@
# -*- coding: utf-8; -*-
######################################################################
#
# messkit -- Generic-ish Data Utility App
# Messkit -- Generic-ish Data Utility App
# Copyright © 2022 Lance Edgar
#
# This file is part of messkit.
# This file is part of Messkit.
#
# messkit is free software: you can redistribute it and/or modify it
# Messkit is free software: you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# messkit is distributed in the hope that it will be useful, but
# Messkit is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with messkit. If not, see <http://www.gnu.org/licenses/>.
# along with Messkit. If not, see <http://www.gnu.org/licenses/>.
#
######################################################################
"""
messkit commands
Messkit commands
"""
import os
@ -41,7 +41,7 @@ from messkit import __version__
def main(*args):
"""
Main entry point for messkit command system
Main entry point for Messkit command system
"""
args = list(args or sys.argv[1:])
cmd = Command()
@ -50,24 +50,24 @@ def main(*args):
class Command(commands.Command):
"""
Main command for messkit
Main command for Messkit
"""
name = 'messkit'
version = __version__
description = "messkit (Generic Data App)"
description = "Messkit (Generic Data App)"
long_description = ''
class Install(commands.Subcommand):
"""
Install a messkit app
Install a Messkit app
"""
name = 'install'
description = __doc__.strip()
def run(self, args):
rprint("\n\t[blue]Welcome to messkit![/blue]")
rprint("\n\t[blue]Welcome to Messkit![/blue]")
rprint("\n\tThis tool will install and configure a new app.")
rprint("\n\t[italic]NB. You should already have created a new database in PostgreSQL.[/italic]")
@ -107,10 +107,10 @@ class Install(commands.Subcommand):
# make config files
context = {
'app_title': "messkit",
'app_title': "Messkit",
'appdir': appdir,
'db_url': dburl,
'pyramid_egg': 'messkit',
'pyramid_egg': 'Messkit',
'beaker_key': 'messkit',
}
rattail_conf = self.app.make_config_file(