helper-cli 0.1.15__tar.gz → 0.1.22__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.
- {helper_cli-0.1.15 → helper_cli-0.1.22}/PKG-INFO +2 -3
- helper_cli-0.1.22/helper/__init__.py +7 -0
- helper_cli-0.1.22/helper/commands/arch.py +14 -0
- {helper_cli-0.1.15 → helper_cli-0.1.22}/helper/commands/docker.py +345 -181
- helper_cli-0.1.22/helper/commands/file.py +202 -0
- {helper_cli-0.1.15 → helper_cli-0.1.22}/helper/commands/internal_ip.py +10 -2
- {helper_cli-0.1.15 → helper_cli-0.1.22}/helper/commands/nixos.py +57 -31
- helper_cli-0.1.22/helper/commands/public_ip.py +17 -0
- helper_cli-0.1.22/helper/commands/speed.py +66 -0
- {helper_cli-0.1.15 → helper_cli-0.1.22}/helper/commands/system_info.py +161 -111
- helper_cli-0.1.22/helper/commands/venv.py +130 -0
- {helper_cli-0.1.15 → helper_cli-0.1.22}/helper/main.py +57 -31
- helper_cli-0.1.22/helper/my_speedtest.py +16 -0
- helper_cli-0.1.22/helper/table.py +29 -0
- {helper_cli-0.1.15 → helper_cli-0.1.22}/helper_cli.egg-info/PKG-INFO +2 -3
- {helper_cli-0.1.15 → helper_cli-0.1.22}/helper_cli.egg-info/SOURCES.txt +5 -0
- {helper_cli-0.1.15 → helper_cli-0.1.22}/pyproject.toml +3 -4
- helper_cli-0.1.15/helper/commands/arch.py +0 -8
- helper_cli-0.1.15/helper/commands/public_ip.py +0 -8
- helper_cli-0.1.15/helper/commands/speed.py +0 -39
- {helper_cli-0.1.15 → helper_cli-0.1.22}/README.md +0 -0
- {helper_cli-0.1.15 → helper_cli-0.1.22}/helper/commands/__init__.py +0 -0
- {helper_cli-0.1.15 → helper_cli-0.1.22}/helper/utils.py +0 -0
- {helper_cli-0.1.15 → helper_cli-0.1.22}/helper_cli.egg-info/dependency_links.txt +0 -0
- {helper_cli-0.1.15 → helper_cli-0.1.22}/helper_cli.egg-info/entry_points.txt +0 -0
- {helper_cli-0.1.15 → helper_cli-0.1.22}/helper_cli.egg-info/requires.txt +0 -0
- {helper_cli-0.1.15 → helper_cli-0.1.22}/helper_cli.egg-info/top_level.txt +0 -0
- {helper_cli-0.1.15 → helper_cli-0.1.22}/setup.cfg +0 -0
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: helper-cli
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.22
|
|
4
4
|
Summary: Simple system info CLI
|
|
5
5
|
Author-email: Huy Nguyen <huy.ntq02@gmail.com>
|
|
6
|
-
License:
|
|
6
|
+
License-Expression: GPL-3.0-or-later
|
|
7
7
|
Classifier: Development Status :: 4 - Beta
|
|
8
8
|
Classifier: Intended Audience :: Developers
|
|
9
|
-
Classifier: License :: OSI Approved :: MIT License
|
|
10
9
|
Classifier: Programming Language :: Python :: 3
|
|
11
10
|
Classifier: Programming Language :: Python :: 3.8
|
|
12
11
|
Classifier: Programming Language :: Python :: 3.9
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import click
|
|
2
|
+
from helper import __version__
|
|
3
|
+
from helper.utils import run_cmd
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
@click.command()
|
|
7
|
+
def arch():
|
|
8
|
+
"""Show CPU architecture information.
|
|
9
|
+
|
|
10
|
+
Version: {}
|
|
11
|
+
Displays the machine hardware name (equivalent to 'uname -m').
|
|
12
|
+
""".format(__version__)
|
|
13
|
+
cmd = "uname -m"
|
|
14
|
+
run_cmd(cmd)
|