ayn2op / discordo

A lightweight, secure, and feature-rich Discord terminal client.
MIT License
2.02k stars 63 forks source link

Documentation is Outdated/Nonexistent #341

Closed gruelingpine185 closed 5 months ago

gruelingpine185 commented 6 months ago

This is about the documentation for discordo. As far as I can tell through fiddling, documentation can be accessed via the following methods:

discordo main ➜ discordo -h
Usage of discordo:
  -token string
        The authentication token. (default "MTE2OTg0MzE2NDg3MDM1NzA0Mg.G8cDu1.63EB2HSLo1uxM0jGr8_h4W8Ppgf9l8-XNPziSE")
Screenshot 2024-02-02 at 5 01 57 PM

Of these, the most detailed and useful one is the manpage. It gives us an idea that there are keybindings for the program, where the discordo expects the configuration file to be, and the available arguments/flags. The issue lays in the fact that it is outdated. For example, The keybinding for toggling the guilds tree as per the manpage is Alt + b where in reality it is Ctrl + b. There are other things, but the point remains unfazed.

Also there is no default/example config file. Actually, I stand corrected. The default (I presume) is at ./internal/config/config.yml. However, this should at least be recognized in./docs/ or a have an example config there that we can look at without having to dig through source code.

I'm on MacOS btw.

gruelingpine185 commented 6 months ago

The manpage doesn't have to be as thorough and git's, but if there is any single place where all the bits and pieces of information regarding documentation that have been scattered around this repo should reside, my vote is on the manpage.

Squid4572 commented 6 months ago

MacOS doesn’t pass alt to the command line last I checked

gruelingpine185 commented 6 months ago

You can still send characters like áé¡¿ and some Greek ones also from inside the terminal. You can use alt + key or alt + shift + key.

I don't think it sends Mets keys to the terminal tho. Meta key bindings are used to manipulate the app or system itself.

cyberme0w commented 5 months ago

Just to document what I've read until now in the Discord chat, the reasoning behind removing the man page is because it is not available on every platform that Discordo supports. A properly maintained "discordo --help" seems to be the way to go instead.

ayn2op commented 5 months ago

A sample configuration is now in the configuration section of README.md