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

Delete never used cli.rb #47

Closed
wants to merge 1 commit into from
Closed

Delete never used cli.rb #47

wants to merge 1 commit into from

Conversation

neves
Copy link

@neves neves commented Sep 26, 2015

cli.rb is loaded by pry at startup, looking for cli options to add to pry command options.
This file is slowing pry startup by 50%, but it's never used.
It's ok to not exist, since pry checks it:
https://github.com/pry/pry/blob/master/lib/pry/plugins.rb#L38

The same was proposed to pry-byebug:
deivid-rodriguez/pry-byebug#76
and pry-rescue:
ConradIrwin/pry-rescue#91

cli.rb is loaded by pry at startup, looking for cli options to add to pry command options.
This file is slowing pry startup by 50%, but it's never used.
It's ok to not exist, since pry checks it:
https://github.com/pry/pry/blob/master/lib/pry/plugins.rb#L38

The same was proposed to pry-byebug:
deivid-rodriguez/pry-byebug#76
and pry-rescue:
ConradIrwin/pry-rescue#91
@kyrylo
Copy link
Owner

kyrylo commented Sep 26, 2015

  1. For some reason this breaks the test suite.
  2. It was added to integrate with pry-rescue better. See the description: b4a20d4

We can safely remove the file, if pry-rescue removes it as well.

@kyrylo kyrylo closed this May 11, 2016
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.

2 participants