Files @ 5b841d56bf74
Branch filter:

Location: kallithea/kallithea/bin/kallithea_cli.py

Thomas De Schampheleire
i18n: how_to: add instructions to regenerate translations

The wrap value of '76' is determined empirically by checking the total
diff after regeneration using wrap values 70 - 90, using 'wc' to find the
smallest delta. It also corresponds with the help text of Weblate that says
that the default is to 'wrap at 77 characters'.
# -*- coding: utf-8 -*-
# This program 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.
#
# This program 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 this program.  If not, see <http://www.gnu.org/licenses/>.

# 'cli' is the main entry point for 'kallithea-cli', specified in setup.py as entry_points console_scripts
from kallithea.bin.kallithea_cli_base import cli

# import commands (they will add themselves to the 'cli' object)
import kallithea.bin.kallithea_cli_celery
import kallithea.bin.kallithea_cli_config
import kallithea.bin.kallithea_cli_db
import kallithea.bin.kallithea_cli_extensions
import kallithea.bin.kallithea_cli_front_end
import kallithea.bin.kallithea_cli_iis
import kallithea.bin.kallithea_cli_index
import kallithea.bin.kallithea_cli_ishell
import kallithea.bin.kallithea_cli_repo