Authentication fail on "ls" command -- but works for other commands
swcurran opened this issue · comments
Stephen Curran commented
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" ]