Open VincentRPS opened 1 year ago
Interesting proposal!
If we're supporting toml, we should allow pyproject.toml to be used for config
If we're supporting toml, we should allow pyproject.toml to be used for config
Changed it to perform within pyproject standards
Hey, I really think it's a better idea to use the toml library when dealing with pyproject.toml files instead of making your own. Creating your own pyproject.toml can cause some issues, especially if you're working with poetry projects. You see, when you create a poetry project, it generates its own pyproject.toml file, and deleting it can lead to some bad stuff happening. So, it's best to stick with the toml library for a smoother experience. Hope that clears things up!
This is something still under consideration, and a wide variety of things will have to be asserted, generalized, and decided before any work or other such may be put into a PR for this.
The goal of v3 is to excel the reach of developers and allow them to reach higher goals. faster.
As with that, we will not only be giving a return to v2's CLI but expanding it and enhancing it to a degree never seen with Discord libraries before.
The CLI will expand Pycord from a library, to a framework for Discord bots.
This will be sectioning into commands, and some points may not be as detailed as to be fleshed out later.
pycord
The base command.
Returns the normal banner without bot information (unless inside a bot dir.)
pycord new
Create a new bot for the framework.
This will form something like the following:
Configuration
pycord start
/pycord run
Starts the bot permanently either using
.run
, or.cluster
.NOTE: would not resync files on changes.
pycord dev
Starts the bot in a development mode. In this mode, files are watched and on any change the bot restarts that specific Gear.