mirror of
https://github.com/platformio/platformio-core.git
synced 2025-07-31 18:44:27 +02:00
Remove "autogen_" prefix from default env
This commit is contained in:
@@ -57,9 +57,10 @@ allows you to disable firmware auto-uploading by default.
|
|||||||
.. option::
|
.. option::
|
||||||
--env-prefix
|
--env-prefix
|
||||||
|
|
||||||
An environment prefix which will be used with pair in board type. The default
|
An environment prefix which will be used with pair in board type.
|
||||||
value is ``autogen_``. For example, the default environment name for
|
|
||||||
``teensy_31`` board will be ``[env:autogen_teensy_31]``.
|
For example, the default environment name for ``teensy_31`` board will
|
||||||
|
be ``[env:teensy_31]``.
|
||||||
|
|
||||||
|
|
||||||
Examples
|
Examples
|
||||||
|
@@ -32,7 +32,7 @@ def validate_boards(ctx, param, value): # pylint: disable=W0613
|
|||||||
@click.option("--ide",
|
@click.option("--ide",
|
||||||
type=click.Choice(ProjectGenerator.get_supported_ides()))
|
type=click.Choice(ProjectGenerator.get_supported_ides()))
|
||||||
@click.option("--disable-auto-uploading", is_flag=True)
|
@click.option("--disable-auto-uploading", is_flag=True)
|
||||||
@click.option("--env-prefix", default="autogen_")
|
@click.option("--env-prefix", default="")
|
||||||
def cli(project_dir, board, ide, disable_auto_uploading, env_prefix):
|
def cli(project_dir, board, ide, disable_auto_uploading, env_prefix):
|
||||||
|
|
||||||
# ask about auto-uploading
|
# ask about auto-uploading
|
||||||
|
Reference in New Issue
Block a user