Metadata-Version: 2.1
Name: python-ucp-cli
Version: 0.1.2
Summary: UNKNOWN
Home-page: https://github.com/martencassel/python-ucp-cli
Author: Mårten Cassel
Author-email: marten.cassel@conoa.se
License: UNKNOWN
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.7
Classifier: License :: OSI Approved :: GNU Affero General Public License v3
Classifier: Operating System :: OS Independent
Description-Content-Type: text/markdown
Requires-Dist: Click
Requires-Dist: requests

# A Docker Universal Control Plane CLI 

[![asciicast](https://asciinema.org/a/05qkp37lroHzKcfxRfu60scGD.png)](https://asciinema.org/a/05qkp37lroHzKcfxRfu60scGD)


This `ucp-cli login` command will download your user bundle and auth token into the ~/.ucp directory.
With `eval $(ucp-cli env)` you can then access the docker or kubectl context.

Reference: https://docs.docker.com/ee/ucp/user-access/cli/


## Installation

Run the following to install:

```
$ pip install python-ucp-cli
```

## Usage

```bash

$ ucp-cli login --username user1 --password password --url ucp-manager.local

$ eval $(ucp-cli env)

$ docker node ls
...

$ kubectl get node
...

```


## Developer

```
virtualenv venv
ls venv/
. venv/bin/activate
which python

pip install --editable .
```



### Get Started

For usage and help content, pass in the `-h` parameter, for example:



