mcm-cli 1.0.0__tar.gz → 1.0.1__tar.gz
Sign up to get free protection for your applications and to get access to all the features.
- {mcm_cli-1.0.0/mcm_cli.egg-info → mcm_cli-1.0.1}/PKG-INFO +1 -1
- {mcm_cli-1.0.0 → mcm_cli-1.0.1/mcm_cli.egg-info}/PKG-INFO +1 -1
- {mcm_cli-1.0.0 → mcm_cli-1.0.1}/mcmcli/__main__.py +1 -1
- {mcm_cli-1.0.0 → mcm_cli-1.0.1}/mcmcli/command/wallet.py +2 -2
- {mcm_cli-1.0.0 → mcm_cli-1.0.1}/setup.py +1 -1
- {mcm_cli-1.0.0 → mcm_cli-1.0.1}/LICENSE +0 -0
- {mcm_cli-1.0.0 → mcm_cli-1.0.1}/NOTICE +0 -0
- {mcm_cli-1.0.0 → mcm_cli-1.0.1}/README.md +0 -0
- {mcm_cli-1.0.0 → mcm_cli-1.0.1}/mcm_cli.egg-info/SOURCES.txt +0 -0
- {mcm_cli-1.0.0 → mcm_cli-1.0.1}/mcm_cli.egg-info/dependency_links.txt +0 -0
- {mcm_cli-1.0.0 → mcm_cli-1.0.1}/mcm_cli.egg-info/entry_points.txt +0 -0
- {mcm_cli-1.0.0 → mcm_cli-1.0.1}/mcm_cli.egg-info/requires.txt +0 -0
- {mcm_cli-1.0.0 → mcm_cli-1.0.1}/mcm_cli.egg-info/top_level.txt +0 -0
- {mcm_cli-1.0.0 → mcm_cli-1.0.1}/mcmcli/__init__.py +0 -0
- {mcm_cli-1.0.0 → mcm_cli-1.0.1}/mcmcli/command/account.py +0 -0
- {mcm_cli-1.0.0 → mcm_cli-1.0.1}/mcmcli/command/auth.py +0 -0
- {mcm_cli-1.0.0 → mcm_cli-1.0.1}/mcmcli/command/config.py +0 -0
- {mcm_cli-1.0.0 → mcm_cli-1.0.1}/mcmcli/command/decision.py +0 -0
- {mcm_cli-1.0.0 → mcm_cli-1.0.1}/mcmcli/data/account.py +0 -0
- {mcm_cli-1.0.0 → mcm_cli-1.0.1}/mcmcli/data/account_user.py +0 -0
- {mcm_cli-1.0.0 → mcm_cli-1.0.1}/mcmcli/data/decision.py +0 -0
- {mcm_cli-1.0.0 → mcm_cli-1.0.1}/mcmcli/data/error.py +0 -0
- {mcm_cli-1.0.0 → mcm_cli-1.0.1}/mcmcli/data/seller.py +0 -0
- {mcm_cli-1.0.0 → mcm_cli-1.0.1}/mcmcli/data/token.py +0 -0
- {mcm_cli-1.0.0 → mcm_cli-1.0.1}/mcmcli/data/wallet.py +0 -0
- {mcm_cli-1.0.0 → mcm_cli-1.0.1}/mcmcli/logging.py +0 -0
- {mcm_cli-1.0.0 → mcm_cli-1.0.1}/mcmcli/requests.py +0 -0
- {mcm_cli-1.0.0 → mcm_cli-1.0.1}/setup.cfg +0 -0
- {mcm_cli-1.0.0 → mcm_cli-1.0.1}/tests/test_config.py +0 -0
@@ -32,7 +32,7 @@ def version():
|
|
32
32
|
"""
|
33
33
|
Show the tool version
|
34
34
|
"""
|
35
|
-
typer.echo(f"Version: mcm-cli v1.0.
|
35
|
+
typer.echo(f"Version: mcm-cli v1.0.1")
|
36
36
|
|
37
37
|
app.add_typer(mcmcli.command.account.app, name="account", help="Ad account management")
|
38
38
|
app.add_typer(mcmcli.command.auth.app, name="auth", help="Authentication management")
|
@@ -127,7 +127,7 @@ def deposit(
|
|
127
127
|
credits_amount = float(credits_amount_micro) / float(1000000)
|
128
128
|
pre_paid_amount = float(pre_paid_amount_micro) / float(1000000)
|
129
129
|
|
130
|
-
print(f"
|
130
|
+
print(f"Funds have been deposited into the wallet. The current balance for ad account ID {account_id} is {pre_paid_amount} in PRE_PAID and {credits_amount} in CREDITS.")
|
131
131
|
return
|
132
132
|
|
133
133
|
@app.command()
|
@@ -178,7 +178,7 @@ def withdraw(
|
|
178
178
|
credits_amount = float(credits_amount_micro) / float(1000000)
|
179
179
|
pre_paid_amount = float(pre_paid_amount_micro) / float(1000000)
|
180
180
|
|
181
|
-
print(f"
|
181
|
+
print(f"Funds were withdrawn out of the wallet. The current balance of ad account ID {account_id} is {pre_paid_amount} for PRE_PAID and {credits_amount} for CREDITS.")
|
182
182
|
return
|
183
183
|
|
184
184
|
class WalletCommand:
|
@@ -18,7 +18,7 @@ from setuptools import setup, find_packages
|
|
18
18
|
|
19
19
|
setup(
|
20
20
|
name='mcm-cli',
|
21
|
-
version='1.0.
|
21
|
+
version='1.0.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
|