node_deployer.cli
SingletonProgress
Bases: Progress
A singleton progress bar
Source code in src/node_deployer/cli.py
11 12 13 | |
cli_spinner(*spinner_args, **spinner_kwargs)
A decorator that adds a spinner to the CLI while the decorated function is running
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
*spinner_args |
The arguments to pass to the rich spinner object |
()
|
|
**spinner_kwargs |
The keyword arguments to pass to the rich spinner object |
{}
|
Returns:
| Name | Type | Description |
|---|---|---|
Callable |
Callable
|
The decorated function |
Source code in src/node_deployer/cli.py
16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 | |
Last update:
November 7, 2023
Created: November 7, 2023
Created: November 7, 2023