mcm-cli 1.7.0__tar.gz → 1.7.1__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {mcm_cli-1.7.0/mcm_cli.egg-info → mcm_cli-1.7.1}/PKG-INFO +1 -1
- {mcm_cli-1.7.0 → mcm_cli-1.7.1/mcm_cli.egg-info}/PKG-INFO +1 -1
- {mcm_cli-1.7.0 → mcm_cli-1.7.1}/mcmcli/__main__.py +1 -1
- {mcm_cli-1.7.0 → mcm_cli-1.7.1}/mcmcli/command/admin.py +15 -1
- {mcm_cli-1.7.0 → mcm_cli-1.7.1}/setup.py +1 -1
- {mcm_cli-1.7.0 → mcm_cli-1.7.1}/LICENSE +0 -0
- {mcm_cli-1.7.0 → mcm_cli-1.7.1}/NOTICE +0 -0
- {mcm_cli-1.7.0 → mcm_cli-1.7.1}/README.md +0 -0
- {mcm_cli-1.7.0 → mcm_cli-1.7.1}/mcm_cli.egg-info/SOURCES.txt +0 -0
- {mcm_cli-1.7.0 → mcm_cli-1.7.1}/mcm_cli.egg-info/dependency_links.txt +0 -0
- {mcm_cli-1.7.0 → mcm_cli-1.7.1}/mcm_cli.egg-info/entry_points.txt +0 -0
- {mcm_cli-1.7.0 → mcm_cli-1.7.1}/mcm_cli.egg-info/requires.txt +0 -0
- {mcm_cli-1.7.0 → mcm_cli-1.7.1}/mcm_cli.egg-info/top_level.txt +0 -0
- {mcm_cli-1.7.0 → mcm_cli-1.7.1}/mcmcli/__init__.py +0 -0
- {mcm_cli-1.7.0 → mcm_cli-1.7.1}/mcmcli/command/account.py +0 -0
- {mcm_cli-1.7.0 → mcm_cli-1.7.1}/mcmcli/command/auth.py +0 -0
- {mcm_cli-1.7.0 → mcm_cli-1.7.1}/mcmcli/command/campaign.py +0 -0
- {mcm_cli-1.7.0 → mcm_cli-1.7.1}/mcmcli/command/config.py +0 -0
- {mcm_cli-1.7.0 → mcm_cli-1.7.1}/mcmcli/command/decision.py +0 -0
- {mcm_cli-1.7.0 → mcm_cli-1.7.1}/mcmcli/command/report.py +0 -0
- {mcm_cli-1.7.0 → mcm_cli-1.7.1}/mcmcli/command/wallet.py +0 -0
- {mcm_cli-1.7.0 → mcm_cli-1.7.1}/mcmcli/data/account.py +0 -0
- {mcm_cli-1.7.0 → mcm_cli-1.7.1}/mcmcli/data/account_user.py +0 -0
- {mcm_cli-1.7.0 → mcm_cli-1.7.1}/mcmcli/data/campaign.py +0 -0
- {mcm_cli-1.7.0 → mcm_cli-1.7.1}/mcmcli/data/decision.py +0 -0
- {mcm_cli-1.7.0 → mcm_cli-1.7.1}/mcmcli/data/error.py +0 -0
- {mcm_cli-1.7.0 → mcm_cli-1.7.1}/mcmcli/data/item.py +0 -0
- {mcm_cli-1.7.0 → mcm_cli-1.7.1}/mcmcli/data/item_blocking_result.py +0 -0
- {mcm_cli-1.7.0 → mcm_cli-1.7.1}/mcmcli/data/platform_user.py +0 -0
- {mcm_cli-1.7.0 → mcm_cli-1.7.1}/mcmcli/data/report.py +0 -0
- {mcm_cli-1.7.0 → mcm_cli-1.7.1}/mcmcli/data/seller.py +0 -0
- {mcm_cli-1.7.0 → mcm_cli-1.7.1}/mcmcli/data/token.py +0 -0
- {mcm_cli-1.7.0 → mcm_cli-1.7.1}/mcmcli/data/user_join_request.py +0 -0
- {mcm_cli-1.7.0 → mcm_cli-1.7.1}/mcmcli/data/wallet.py +0 -0
- {mcm_cli-1.7.0 → mcm_cli-1.7.1}/mcmcli/logging.py +0 -0
- {mcm_cli-1.7.0 → mcm_cli-1.7.1}/mcmcli/requests.py +0 -0
- {mcm_cli-1.7.0 → mcm_cli-1.7.1}/setup.cfg +0 -0
- {mcm_cli-1.7.0 → mcm_cli-1.7.1}/tests/test_config.py +0 -0
@@ -37,7 +37,7 @@ def version():
|
|
37
37
|
"""
|
38
38
|
Show the tool version
|
39
39
|
"""
|
40
|
-
typer.echo(f"Version: mcm-cli v1.7.
|
40
|
+
typer.echo(f"Version: mcm-cli v1.7.1")
|
41
41
|
|
42
42
|
app.add_typer(mcmcli.command.account.app, name="account", help="Ad account management")
|
43
43
|
app.add_typer(mcmcli.command.admin.app, name="admin", help="Platform administration")
|
@@ -86,7 +86,21 @@ def generate_sample_data(
|
|
86
86
|
and click trackers to generate sample data in the platform.
|
87
87
|
"""
|
88
88
|
if warn:
|
89
|
-
typer.confirm("
|
89
|
+
typer.confirm("""⚠️ WARNING: This script is strictly for use on the TEST platform.⚠️
|
90
|
+
Running it on any other platform may corrupt data or confuse the ML system.
|
91
|
+
It will generate sample impressions and clicks.
|
92
|
+
Please proceed only if you are certain.""", abort=True)
|
93
|
+
|
94
|
+
config = mcmcli.command.config.get_config(profile)
|
95
|
+
if (config is None):
|
96
|
+
print(f"ERROR: Failed to load the CLI profile", file=sys.stderr, flush=True)
|
97
|
+
sys.exit()
|
98
|
+
|
99
|
+
platform_id = config['platform_id']
|
100
|
+
if (not platform_id.endswith("_TEST")):
|
101
|
+
print(f"ERROR: The platform {platform_id} is not a TEST platform.", file=sys.stderr, flush=True)
|
102
|
+
sys.exit()
|
103
|
+
|
90
104
|
|
91
105
|
# Initialize DecisionCommand
|
92
106
|
d = mcmcli.command.decision.DecisionCommand(profile)
|
@@ -18,7 +18,7 @@ from setuptools import setup, find_packages
|
|
18
18
|
|
19
19
|
setup(
|
20
20
|
name='mcm-cli',
|
21
|
-
version='1.7.
|
21
|
+
version='1.7.1',
|
22
22
|
description='A command-line interface for Moloco Commerde Media',
|
23
23
|
long_description=open('README.md').read(),
|
24
24
|
long_description_content_type='text/markdown',
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|