Skip to content

Commit

Permalink
fixed bug with extra commands that have options like tail -f
Browse files Browse the repository at this point in the history
  • Loading branch information
patrickbcullen committed May 18, 2017
1 parent f466c20 commit ef1bb91
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions essh/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@
from ec2.controller import EC2Controller
from ssh.controller import SSHController

@click.command()
@click.command(context_settings=dict(ignore_unknown_options=True,))
@click.option('--keypair-dir', default="~/.ssh", help='Directory where keypair files are located')
@click.option('--keypair-extension', default="pem", help='File extension for keypari files')
@click.argument('target')
@click.argument('command', nargs=-1)
@click.argument('command', nargs=-1, type=click.UNPROCESSED)
def cli(keypair_dir, keypair_extension, target, command):
cmd = " ". join(command)
if len(cmd) > 0:
Expand Down
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

setup(
name='essh',
version='0.3.1',
version='0.3.2',
packages=find_packages(),
include_package_data=True,
install_requires=[
Expand All @@ -21,7 +21,7 @@
author="Patrick Cullen",
author_email="patrickbcullen@gmail.com",
url="https://github.com/patrickbcullen/essh",
download_url = "https://github.com/patrickbcullen/essh/tarball/v0.3.1",
download_url = "https://github.com/patrickbcullen/essh/tarball/v0.3.2",
keywords = ['ssh', 'ec2', 'aws'],
classifiers = []
)

0 comments on commit ef1bb91

Please sign in to comment.