Nekmo / telegram-upload

Upload and download files from Telegram up to 4 GiB using your account
MIT License
1.05k stars 226 forks source link

Feature request - Support `--interactive` flag for Docker usage #212

Closed KiritaniAyaka closed 1 year ago

KiritaniAyaka commented 1 year ago

I'm using this Docker Image nekmo/telegram-upload:master (e2aac998aa98)

Description

It looks like the usage via Docker doesn't support --interactive flag, cloud you add support for it?

What I Did

I use Docker Compose to run it, below is the content of docker-compose.yml

version: '3'

services:
  tg-dl:
    image: nekmo/telegram-upload:master
    container_name: telegram-upload
    tty: true
    stdin_open: true
    volumes:
       - ./files:/files
       - ./config:/config

Run docker compose run tg-dl download -i -f <username> or using --interactive instead of -i

I got an error: Error: No such option: --interactive or Error: No such option: -i

Then I checked the outputs of docker compose run tg-dl download --help. It looks like doesn't support this flag.

Could you add support for it? I think it will be an excellent change

Nekmo commented 1 year ago

what is the version of your cached docker image?

KiritaniAyaka commented 1 year ago

what is the version of your cached docker image?

Ooookay. I'm aware just now the image I used is created 2y ago 🤣

I have an advice to change the Docker image tag in README to the latest

Sorry to take up your time. I tried interactive mode, it shocked me

Nekmo commented 1 year ago

You are welcome :)