Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create use config, create new project in a more convenient way #111

Open
Undertone0809 opened this issue May 18, 2024 · 1 comment
Open
Labels
enhancement New feature or request

Comments

@Undertone0809
Copy link
Owner

🚀 Feature Request

For a developer who often creates projects, if it is easy to create a project and configure the basic information, it is best. I hope to optimize the output of the client and provide configuration options, which record the developer's customary configuration, such as user name, whether to use ruff and other configuration options, the following is an example:

github: "Undertone0809"
email: "zeeland4work@gmail.com"
use_ruff: True
use_pre_commit: False
license: Apache Software License 2.0
use_tsinghua_image_source: False
line_length: 99
  • edit user config:
p3g config

Running this command will open the corresponding configuration file, giving the user the ability to edit it.

  • generate new project by config:
p3g generate

If a profile is detected, part of the configuration is created using the profile directly, and if no profile is detected, the project is created in the default way.

🔈 Motivation

Just to make it easier to create projects according to your own habits.

@Undertone0809 Undertone0809 added the enhancement New feature or request label May 18, 2024
@Undertone0809
Copy link
Owner Author

All statuses should be configurable, e.g. whether to configure the use of github actions or not.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant