Skip to content

Commit 0b17e09

Browse files
AmozPayhoh
andauthored
Refactor: Commands were cluttered + no cli help
Solution: Put all commands in a subfolder and use `typer` subcommands. Use `typer.Option` and `typer.Argument` to document each command parameter Co-authored-by: AmozPay <AmozPay> Co-authored-by: Hugo Herter <[email protected]>
1 parent 5e7c2bd commit 0b17e09

File tree

11 files changed

+753
-575
lines changed

11 files changed

+753
-575
lines changed

docker/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ RUN pip install --upgrade pip wheel twine
2121
# Preinstall dependencies for faster steps
2222
RUN pip install --upgrade secp256k1 coincurve aiohttp eciespy python-magic typer
2323
RUN pip install --upgrade 'aleph-message~=0.2.3' eth_account pynacl base58
24-
RUN pip install --upgrade pytest pytest-cov pytest-asyncio mypy types-setuptools pytest-asyncio fastapi requests
24+
RUN pip install --upgrade pytest pytest-cov pytest-asyncio mypy types-setuptools pytest-asyncio fastapi httpx requests
2525

2626
WORKDIR /opt/aleph-client/
2727
COPY . .

setup.cfg

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,8 @@ testing =
6363
pynacl
6464
base58
6565
fastapi
66+
# httpx is required in tests by fastapi.testclient
67+
httpx
6668
requests
6769
aleph-pytezos==0.1.0
6870
mqtt =

0 commit comments

Comments
 (0)