centralcli 2.0.0__tar.gz → 2.3.0__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.
- {centralcli-2.0.0 → centralcli-2.3.0}/PKG-INFO +5 -2
- {centralcli-2.0.0 → centralcli-2.3.0}/README.md +2 -1
- {centralcli-2.0.0 → centralcli-2.3.0}/centralcli/boilerplate/README.md +1 -1
- {centralcli-2.0.0 → centralcli-2.3.0}/centralcli/boilerplate/allcalls.py +1533 -1371
- {centralcli-2.0.0 → centralcli-2.3.0}/centralcli/cache.py +116 -34
- {centralcli-2.0.0 → centralcli-2.3.0}/centralcli/central.py +65 -125
- {centralcli-2.0.0 → centralcli-2.3.0}/centralcli/cleaner.py +34 -11
- {centralcli-2.0.0 → centralcli-2.3.0}/centralcli/cli.py +40 -28
- {centralcli-2.0.0 → centralcli-2.3.0}/centralcli/cliadd.py +22 -24
- {centralcli-2.0.0 → centralcli-2.3.0}/centralcli/cliassign.py +1 -0
- {centralcli-2.0.0 → centralcli-2.3.0}/centralcli/clibatch.py +744 -177
- {centralcli-2.0.0 → centralcli-2.3.0}/centralcli/clicommon.py +17 -4
- {centralcli-2.0.0 → centralcli-2.3.0}/centralcli/clidel.py +22 -6
- {centralcli-2.0.0 → centralcli-2.3.0}/centralcli/clirename.py +2 -4
- {centralcli-2.0.0 → centralcli-2.3.0}/centralcli/clishow.py +167 -112
- {centralcli-2.0.0 → centralcli-2.3.0}/centralcli/clitshoot.py +82 -27
- {centralcli-2.0.0 → centralcli-2.3.0}/centralcli/cliupdate.py +3 -7
- {centralcli-2.0.0 → centralcli-2.3.0}/centralcli/config.py +104 -24
- {centralcli-2.0.0 → centralcli-2.3.0}/centralcli/constants.py +42 -2
- {centralcli-2.0.0 → centralcli-2.3.0}/centralcli/exceptions.py +8 -0
- {centralcli-2.0.0 → centralcli-2.3.0}/centralcli/logger.py +29 -16
- {centralcli-2.0.0 → centralcli-2.3.0}/centralcli/models.py +29 -3
- centralcli-2.3.0/centralcli/objects.py +126 -0
- {centralcli-2.0.0 → centralcli-2.3.0}/centralcli/render.py +6 -5
- {centralcli-2.0.0 → centralcli-2.3.0}/centralcli/response.py +21 -7
- {centralcli-2.0.0 → centralcli-2.3.0}/centralcli/strings.py +124 -3
- {centralcli-2.0.0 → centralcli-2.3.0}/centralcli/utils.py +1 -1
- {centralcli-2.0.0 → centralcli-2.3.0}/pyproject.toml +10 -2
- centralcli-2.0.0/centralcli/boilerplate/configuration.py +0 -4449
- centralcli-2.0.0/centralcli/boilerplate/firmware.py +0 -715
- centralcli-2.0.0/centralcli/boilerplate/guest.py +0 -876
- centralcli-2.0.0/centralcli/boilerplate/wlan.py +0 -1977
- {centralcli-2.0.0 → centralcli-2.3.0}/LICENSE +0 -0
- {centralcli-2.0.0 → centralcli-2.3.0}/centralcli/__init__.py +0 -0
- {centralcli-2.0.0 → centralcli-2.3.0}/centralcli/caas.py +0 -0
- {centralcli-2.0.0 → centralcli-2.3.0}/centralcli/clicaas.py +0 -0
- {centralcli-2.0.0 → centralcli-2.3.0}/centralcli/cliclone.py +0 -0
- {centralcli-2.0.0 → centralcli-2.3.0}/centralcli/clikick.py +0 -0
- {centralcli-2.0.0 → centralcli-2.3.0}/centralcli/clirefresh.py +0 -0
- {centralcli-2.0.0 → centralcli-2.3.0}/centralcli/clishowbranch.py +0 -0
- {centralcli-2.0.0 → centralcli-2.3.0}/centralcli/clishowfirmware.py +0 -0
- {centralcli-2.0.0 → centralcli-2.3.0}/centralcli/clishowospf.py +0 -0
- {centralcli-2.0.0 → centralcli-2.3.0}/centralcli/clishowoverlay.py +0 -0
- {centralcli-2.0.0 → centralcli-2.3.0}/centralcli/clishowtshoot.py +0 -0
- {centralcli-2.0.0 → centralcli-2.3.0}/centralcli/clishowwids.py +0 -0
- {centralcli-2.0.0 → centralcli-2.3.0}/centralcli/clitest.py +0 -0
- {centralcli-2.0.0 → centralcli-2.3.0}/centralcli/cliunassign.py +0 -0
- {centralcli-2.0.0 → centralcli-2.3.0}/centralcli/cliupgrade.py +0 -0
- {centralcli-2.0.0 → centralcli-2.3.0}/centralcli/setup.py +0 -0
- {centralcli-2.0.0 → centralcli-2.3.0}/centralcli/static/favicon.ico +0 -0
- {centralcli-2.0.0 → centralcli-2.3.0}/centralcli/vscodeargs.py +0 -0
- {centralcli-2.0.0 → centralcli-2.3.0}/centralcli/wh2snow.py +0 -0
- {centralcli-2.0.0 → centralcli-2.3.0}/centralcli/wh_proxy.py +0 -0
- {centralcli-2.0.0 → centralcli-2.3.0}/centralcli/wh_proxy_service.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: centralcli
|
|
3
|
-
Version: 2.
|
|
3
|
+
Version: 2.3.0
|
|
4
4
|
Summary: A CLI for interacting with Aruba Central (Cloud Management Platform). Facilitates bulk imports, exports, reporting. A handy tool if you have devices managed by Aruba Central.
|
|
5
5
|
Home-page: https://github.com/Pack3tL0ss/central-api-cli
|
|
6
6
|
License: MIT
|
|
@@ -11,6 +11,7 @@ Maintainer: Wade Wells (Pack3tL0ss)
|
|
|
11
11
|
Maintainer-email: wade@consolepi.org
|
|
12
12
|
Requires-Python: >=3.8,<4.0
|
|
13
13
|
Classifier: Development Status :: 5 - Production/Stable
|
|
14
|
+
Classifier: Environment :: Console
|
|
14
15
|
Classifier: License :: OSI Approved :: MIT License
|
|
15
16
|
Classifier: Programming Language :: Python :: 3
|
|
16
17
|
Classifier: Programming Language :: Python :: 3.8
|
|
@@ -25,6 +26,7 @@ Requires-Dist: aiodns (>=1.1) ; extra == "speedups"
|
|
|
25
26
|
Requires-Dist: aiohttp (>=3)
|
|
26
27
|
Requires-Dist: asyncio (>=3)
|
|
27
28
|
Requires-Dist: cchardet (>=2.1) ; (platform_system != "Windows") and (extra == "speedups")
|
|
29
|
+
Requires-Dist: click (<=7.1.2)
|
|
28
30
|
Requires-Dist: fastapi ; extra == "hook-proxy"
|
|
29
31
|
Requires-Dist: fuzzywuzzy
|
|
30
32
|
Requires-Dist: halo
|
|
@@ -96,7 +98,7 @@ Refer to [config.yaml.example](https://github.com/Pack3tL0ss/central-api-cli/blo
|
|
|
96
98
|
CentralCli will look in \<Users home dir\>/.config/centralcli, and \<Users home dir\>\\.centralcli.
|
|
97
99
|
i.e. on Windows `c:\Users\wade\.centralcli` or on Linux `/home/wade/.config/centralcli`
|
|
98
100
|
|
|
99
|
-
Once `config.yaml` is populated per [config.yaml.example](config/config.yaml.example), run some test commands to validate the config.
|
|
101
|
+
Once `config.yaml` is populated per [config.yaml.example](https://github.com/Pack3tL0ss/central-api-cli/blob/master/config/config.yaml.example), run some test commands to validate the config.
|
|
100
102
|
|
|
101
103
|
For Example `cencli show all`
|
|
102
104
|
|
|
@@ -144,6 +146,7 @@ Use `cencli ?` to become familiar with the command options.
|
|
|
144
146
|
### Auto Completion
|
|
145
147
|
|
|
146
148
|
The CLI supports auto-completion. To configure auto-completion run `cencli --install-completion`. This will auto-detect the type of shell you are running in, and install the necessary completion into your profile. You'll need to exit the shell and start a new session for it to take effect.
|
|
149
|
+
> Note for OSX 11: Additional step, edit .zshrc and add "autoload -Uz compinit && compinit -i" then exit and start new session.
|
|
147
150
|
|
|
148
151
|
## Usage Notes
|
|
149
152
|
|
|
@@ -47,7 +47,7 @@ Refer to [config.yaml.example](https://github.com/Pack3tL0ss/central-api-cli/blo
|
|
|
47
47
|
CentralCli will look in \<Users home dir\>/.config/centralcli, and \<Users home dir\>\\.centralcli.
|
|
48
48
|
i.e. on Windows `c:\Users\wade\.centralcli` or on Linux `/home/wade/.config/centralcli`
|
|
49
49
|
|
|
50
|
-
Once `config.yaml` is populated per [config.yaml.example](config/config.yaml.example), run some test commands to validate the config.
|
|
50
|
+
Once `config.yaml` is populated per [config.yaml.example](https://github.com/Pack3tL0ss/central-api-cli/blob/master/config/config.yaml.example), run some test commands to validate the config.
|
|
51
51
|
|
|
52
52
|
For Example `cencli show all`
|
|
53
53
|
|
|
@@ -95,6 +95,7 @@ Use `cencli ?` to become familiar with the command options.
|
|
|
95
95
|
### Auto Completion
|
|
96
96
|
|
|
97
97
|
The CLI supports auto-completion. To configure auto-completion run `cencli --install-completion`. This will auto-detect the type of shell you are running in, and install the necessary completion into your profile. You'll need to exit the shell and start a new session for it to take effect.
|
|
98
|
+
> Note for OSX 11: Additional step, edit .zshrc and add "autoload -Uz compinit && compinit -i" then exit and start new session.
|
|
98
99
|
|
|
99
100
|
## Usage Notes
|
|
100
101
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Boilerplate functions
|
|
2
2
|
|
|
3
|
-
**Last Updated with Central 2.5.
|
|
3
|
+
**Last Updated with Central 2.5.7 9/8/2023 (internal)**
|
|
4
4
|
|
|
5
5
|
- The files in this directory contain python functions for each API endpoint available in Aruba Central.
|
|
6
6
|
- The functions are designed to fit within the framework used by centralcli, but can easily be adjusted to suite other needs.
|