Skip to content

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

@Undertone0809

Description

@Undertone0809

🚀 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions