Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add exit/quit dot commands #97

Merged
merged 1 commit into from
Dec 30, 2015
Merged

Add exit/quit dot commands #97

merged 1 commit into from
Dec 30, 2015

Conversation

jamesls
Copy link
Member

@jamesls jamesls commented Dec 30, 2015

Closes #38.

@@ -204,12 +212,12 @@ def run(self):
self.save_config()
break
else:
if text.strip() in ['quit', 'exit']:
break
if text.startswith('.'):
# These are special commands. The only one supported for
# now is .edit.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should this comment be updated?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yep, I'll update this comment.

@donnemartin
Copy link
Collaborator

Looks good, just a minor comment. :shipit:

@jamesls jamesls merged commit 64de500 into master Dec 30, 2015
jamesls added a commit that referenced this pull request Dec 30, 2015
* quit-exit-dot:
  Update comment
  Add exit/quit dot commands

Conflicts:
	awsshell/app.py
	tests/unit/test_app.py

Closes #97.
@artburkart
Copy link

Were these removed?

@donnemartin
Copy link
Collaborator

I just tried a few dot commands, they work on my end. Are you prefixing them with a . ?

Examples:

aws> .cd [dir]
aws> .exit

@artburkart
Copy link

Oh, I'm sorry! I was running an older version (0.0.1) where exit and quit worked and then they disappeared when I upgraded. I was looking at this commit and was very confused that they had been removed and I've never heard of a 'dot command', so I didn't know what it actually meant.

Now I understand. Everything works fine, cheers.

@donnemartin
Copy link
Collaborator

No problem :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants