toggl-cli icon indicating copy to clipboard operation
toggl-cli copied to clipboard

Authentication fail on "ls" command -- but works for other commands

Open swcurran opened this issue 2 years ago • 0 comments

I'm using an instance of toggl-cli that I've created as a docker image (Dockerfile below). I can get the other commands to work (add, sum, projects) and so on.

When I run toggl ls, the error I get is: ERROR: There is no authentication configuration!

I thought it might be because the ls initialization on this line that is different than the one for sum. However, I tested changing the ls version to match sum and it still didn't work -- same error.

Any ideas?

Dockerfile I'm using:

FROM python:latest
RUN pip install togglCli 
VOLUME /toggl
WORKDIR /toggl
ENV TZ="America/Vancouver"
ENTRYPOINT [ "toggl", "--config", "/toggl/.toggl" ]

swcurran avatar Apr 28 '22 03:04 swcurran