Skip to content

Commit f2f0a09

Browse files
committed
Remove command wrappers around rstgen.py. No longer needed now that it is done in-process.
1 parent fe24a0b commit f2f0a09

File tree

3 files changed

+0
-89
lines changed

3 files changed

+0
-89
lines changed

awscli/rstgen.py

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -32,22 +32,3 @@ def get_cli_data(session, provider_name):
3232
choices = session.get_data(choices_path)
3333
option_data['choices'] = choices
3434
return cli_data
35-
36-
37-
def main():
38-
from .clidriver import CLIDriver
39-
parser = argparse.ArgumentParser()
40-
parser.add_argument('--provider',
41-
help='Name of provider', required=True)
42-
parser.add_argument('--service',
43-
help='Name of service')
44-
parser.add_argument('--operation',
45-
help='Name of operation')
46-
args = parser.parse_args()
47-
driver = CLIDriver()
48-
if args.provider and args.service and args.operation:
49-
do_operation(driver.session, args)
50-
elif args.provider and args.service:
51-
do_service(driver.session, args)
52-
else:
53-
do_provider(driver.session, args)

bin/rstgen

Lines changed: 0 additions & 18 deletions
This file was deleted.

bin/rstgen.cmd

Lines changed: 0 additions & 52 deletions
This file was deleted.

0 commit comments

Comments
 (0)