Qovery / Replibyte

Seed your development database with real data ⚡️
https://www.replibyte.com
GNU General Public License v3.0
4.17k stars 129 forks source link

Request: Rename `only_tables` to `only` in config yaml 🙏 #294

Open gsweats opened 9 months ago

gsweats commented 9 months ago

Hello! So excited to have stumbled across Replibyte today! As a newbie, I was trying to export only a certain table. I didn't see anything in the beautiful doc site (nice work!) but I searched the source and saw only_tables. Assuming that was just a variable name (I don't rust yet) I mistakingly used only: in my conf.yaml, emulating the skip: option, which is documented.

Long story short, please can we rename only_tables in the YAML schema to only and have some kind of legacy alias to continue supporting only_tables (perhaps with a console warning?) but officialy promote only: in the docs?

Merely a new user here, I might be missing something. Next Issue will be to add more to the docs, like official API documentation (must be some kind of rustdoc type thing).

Thanks, best!