Skip to content

Commit

Permalink
Hide the convert command (#4646)
Browse files Browse the repository at this point in the history
* Hide the convert command

* Added changelog

* Updated changelog pr number

* Removed create-artifacts and create-id-set from integration tests

* Added deprecated to the docstring
  • Loading branch information
Shellyber authored Nov 7, 2024
1 parent d6b58c5 commit a09907f
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 450 deletions.
4 changes: 4 additions & 0 deletions .changelog/4646.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
changes:
- description: "The following commands will be deprecated and removed entirely in the next SDK release in two weeks: convert, create-content-artifacts, create-id-set, extract-code and lint."
type: breaking
pr_number: 4646
9 changes: 2 additions & 7 deletions demisto_sdk/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3303,12 +3303,7 @@ def generate_yml_from_python(ctx, **kwargs):


# ====================== convert ====================== #
@main.command(
context_settings=dict(
ignore_unknown_options=True,
allow_extra_args=True,
)
)
@main.command(hidden=True)
@click.help_option("-h", "--help")
@click.option(
"-i",
Expand All @@ -3325,7 +3320,7 @@ def generate_yml_from_python(ctx, **kwargs):
@logging_setup_decorator
def convert(ctx, config, **kwargs):
"""
Convert the content of the pack/directory in the given input to be compatible with the version given by
Deprecated. Convert the content of the pack/directory in the given input to be compatible with the version given by
version command.
"""
from demisto_sdk.commands.convert.convert_manager import ConvertManager
Expand Down

This file was deleted.

Loading

0 comments on commit a09907f

Please sign in to comment.