$53 GRAYBYTE WORDPRESS FILE MANAGER $35

SERVER : premium201.web-hosting.com #1 SMP Wed Mar 26 12:08:09 UTC 2025
SERVER IP : 104.21.15.130 | ADMIN IP 216.73.216.51
OPTIONS : CRL = ON | WGT = ON | SDO = OFF | PKEX = OFF
DEACTIVATED : NONE

/opt/cloudlinux/venv/lib/python3.11/site-packages/lvestats/lib/parsers/

HOME
Current File : /opt/cloudlinux/venv/lib/python3.11/site-packages/lvestats/lib/parsers//lve_create_db_argparse.py
# coding=utf-8
#
# Copyright © Cloud Linux GmbH & Cloud Linux Software, Inc 2010-2019 All Rights Reserved
#
# Licensed under CLOUD LINUX LICENSE AGREEMENT
# http://cloudlinux.com/docs/LICENSE.TXT

import argparse


def lve_create_db_parser():
    parser = argparse.ArgumentParser(
        prog='lve_create_db',
        add_help=True,
        description='Creates a database for lve-stats',
        formatter_class=argparse.ArgumentDefaultsHelpFormatter)

    parser.add_argument(
        '--recreate',
        help='Drops and recreates database even if tables exists',
        action='store_true',
        default=False)
    parser.add_argument(
        '--create-missing-tables',
        help='Create missing tables',
        action='store_true',
        default=False)
    parser.add_argument(
        '--print-sql',
        help='Prints sql and exits, without creating db',
        action='store_true',
        default=False)
    parser.add_argument(
        '--update-serverid-prompt',
        help='Update exist server ID or create new one',
        action='store_true',
        default=False)
    parser.add_argument(
        '--update-serverid-auto',
        help='Update exist server ID with uuid',
        action='store_true',
        default=False)
    parser.add_argument(
        '--validate',
        help='Check the correctness of the database structure',
        action='store_true',
        default=False
    )
    parser.add_argument(
        '--fix',
        help='Try fix errors in database',
        action='store_true',
        default=False
    )

    return parser

Current_dir [ NOT WRITEABLE ] Document_root [ NOT WRITEABLE ]


[ Back ]
NAME
SIZE
LAST TOUCH
USER
CAN-I?
FUNCTIONS
..
--
19 May 2026 8.30 AM
root / root
0755
__pycache__
--
19 May 2026 8.30 AM
root / root
0755
__init__.py
0.192 KB
28 Apr 2026 1.04 PM
root / root
0644
cloudlinux_statistics_parser.py
7.985 KB
28 Apr 2026 1.04 PM
root / root
0644
cloudlinux_top_argparse.py
2.735 KB
28 Apr 2026 1.04 PM
root / root
0644
lve_create_db_argparse.py
1.552 KB
28 Apr 2026 1.04 PM
root / root
0644
lve_read_snapshot_argparse.py
3.803 KB
28 Apr 2026 1.04 PM
root / root
0644
lveinfoargparse.py
25.202 KB
28 Apr 2026 1.04 PM
root / root
0644
run_tests_argparse.py
2.921 KB
28 Apr 2026 1.04 PM
root / root
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2026 CONTACT ME
Static GIF Static GIF