Skip to content

Commit

Permalink
Remove command wrappers around rstgen.py. No longer needed now that i…
Browse files Browse the repository at this point in the history
…t is done in-process.
  • Loading branch information
garnaat committed May 20, 2013
1 parent fe24a0b commit f2f0a09
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 89 deletions.
19 changes: 0 additions & 19 deletions awscli/rstgen.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,22 +32,3 @@ def get_cli_data(session, provider_name):
choices = session.get_data(choices_path)
option_data['choices'] = choices
return cli_data


def main():
from .clidriver import CLIDriver
parser = argparse.ArgumentParser()
parser.add_argument('--provider',
help='Name of provider', required=True)
parser.add_argument('--service',
help='Name of service')
parser.add_argument('--operation',
help='Name of operation')
args = parser.parse_args()
driver = CLIDriver()
if args.provider and args.service and args.operation:
do_operation(driver.session, args)
elif args.provider and args.service:
do_service(driver.session, args)
else:
do_provider(driver.session, args)
18 changes: 0 additions & 18 deletions bin/rstgen

This file was deleted.

52 changes: 0 additions & 52 deletions bin/rstgen.cmd

This file was deleted.

0 comments on commit f2f0a09

Please sign in to comment.