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

Preparse all commands #43

Merged
merged 2 commits into from
Feb 28, 2016
Merged

Preparse all commands #43

merged 2 commits into from
Feb 28, 2016

Conversation

nfischer
Copy link
Collaborator

Now that #38 is merged, this will add preparsing to almost all commands. grep and less use different packages, so I didn't modify those yet. I skipped preparsing on commands that don't take arguments.

I also had it skip the test for kill, since kill does logging differently than the other commands (it just uses console.log I think). Not sure why that is, but I tested it on my commandline and it does seem to actually preparse correctly.

If there's a way to check kill's output, or to add preparsing for grep or less, let me know and I'll modify accordingly.

This isn't super useful until variable assignment is added, but I figured I could implement it now anyway.

dthree added a commit that referenced this pull request Feb 28, 2016
@dthree dthree merged commit e4a3d1b into dthree:master Feb 28, 2016
@dthree
Copy link
Owner

dthree commented Feb 28, 2016

Looks great! Thanks!

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.

None yet

2 participants