Remove the "ara generate" command (replaced by "ara generate html")

The ara generate command has been replaced by "ara generate html"
in ARA 0.11 on February 13 2017.
It is removed and will not be in the next version, ARA 0.13.

Change-Id: I04f4963b815f8214d60673dd06670b7daf6453e7
This commit is contained in:
David Moreau-Simard 2017-04-30 15:41:22 -04:00
parent 286151e3dd
commit 8618139809
2 changed files with 0 additions and 35 deletions

View File

@ -1,34 +0,0 @@
# Copyright 2017 Red Hat, Inc. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
# License for the specific language governing permissions and limitations
# under the License.
from ara.cli import generate
from debtcollector import moves
long_message = """[WARNING]
The "ara generate" command is deprecated and has been moved to
"ara generate html" command in ARA 0.10.6.
Please use the "ara generate html" command instead.
"ara generate" will be removed in a future version.
"""
message = '"ara generate" command has been moved to "ara generate html".'
print(long_message)
Generate = moves.moved_class(generate.GenerateHtml, 'GenerateHtml',
'ara',
version='0.10.6',
removal_version='?',
message=message)

View File

@ -69,6 +69,5 @@ ara.cli =
host show = ara.cli.host:HostShow
stats list = ara.cli.stats:StatsList
stats show = ara.cli.stats:StatsShow
generate = ara.cli.static:Generate
generate html = ara.cli.generate:GenerateHtml
generate junit = ara.cli.generate:GenerateJunit