Skip to content

Commit

Permalink
Merge pull request #8 from unbekanntes-pferd/bugs/0.3.5
Browse files Browse the repository at this point in the history
Bugs/0.3.5
  • Loading branch information
unbekanntes-pferd authored Jul 22, 2022
2 parents a5bdd91 + fdf40f8 commit 787beb4
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 16 deletions.
2 changes: 1 addition & 1 deletion dccmd/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"""

__version__ = "0.3.4"
__version__ = "0.3.5"

# std imports
import sys
Expand Down
16 changes: 2 additions & 14 deletions dccmd/main/auth/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,36 +7,23 @@
# std import
import sys
import asyncio
import logging

# external imports
import typer
import httpx
from dracoon import DRACOON, OAuth2ConnectionType
from dracoon.client import DRACOONConnection
from dracoon.errors import HTTPUnauthorizedError, DRACOONHttpError, HTTPNotFoundError

# internal imports
from .credentials import (
get_credentials,
store_credentials,
delete_credentials,
get_client_credentials,
store_client_credentials,
delete_client_credentials,
get_crypto_credentials,
store_crypto_credentials,
delete_crypto_credentials,
)
from .util import login
from ..util import (
format_error_message,
format_success_message,
graceful_exit,
parse_base_url,
)
from ..models.errors import DCClientParseError


auth_app = typer.Typer()

Expand Down Expand Up @@ -104,5 +91,6 @@ async def _ls():
typer.echo(
f"Username: {dracoon.user_info.userName} ({dracoon.user_info.firstName} {dracoon.user_info.lastName})"
)

await dracoon.logout()

asyncio.run(_ls())
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "dccmd"
version = "0.3.4"
version = "0.3.5"
description = "DRACOON Commander – CLI client for DRACOON Cloud (dracoon.com)"
authors = ["Octavio Simone <[email protected]>"]
license = "Apache-2.0"
Expand Down

0 comments on commit 787beb4

Please sign in to comment.