Metadata-Version: 2.1
Name: python-ucp-cli
Version: 0.1.4
Summary: UNKNOWN
Home-page: https://github.com/martencassel/python-ucp-cli
Author: Mårten Cassel
Author-email: marten.cassel@conoa.se
License: UNKNOWN
Description: # 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
        ```
        
        ```
        python setup.py sdist bdist_wheel
        ls build/
        pip install -e .
        ```
        
        ```
        check-manifest --create
        git add MANIFEST.in
        ```
        
        ```
        rm ./dist/python*
        python setup.py bdist_wheel sdist
        ls dist/
        tar tzf dist/python-ucp-cli-0.1.4.tar.gz
        
        twine upload dist/*
        ```
        
        
        ### Get Started
        
        For usage and help content, pass in the `-h` parameter, for example:
        
        
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
