-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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 CLI - Integrate fakerbot 🤖 #1507
Merged
Merged
Changes from 1 commit
Commits
Show all changes
17 commits
Select commit
Hold shift + click to select a range
e34a04b
feat(cli): Pull in fakerbot gem logic
akabiru 552de6e
chore(cli): Extract module outside of `faker` dir
akabiru 2582f5d
feat(cli): Add `faker` excecutable
akabiru 38ec79c
feat(cli): Add renderer; reflector unit tests
akabiru c5e7224
feat(cli): Add commands tests
akabiru 5a65094
feat(cli): Add integration tests
akabiru deb31a4
feat(cli): Add documentation 📖
akabiru 96b2dd1
chore(cli): Extract constructor to base command
akabiru a4b2bc2
fix(cli): Amend faker version load path
akabiru 9285086
fix(cli): Skip default deprecation warning output in the CLI
akabiru 63a24f1
chore(cli): Amend var names
akabiru fd9d986
chore(reflectors): Distribute Reflector responsibilities
akabiru 203ef41
Merge master
akabiru 450dbaf
Merge branch 'master' into feature/pull-in-fakerbot
akabiru a800621
chore: Don't specify bunlder version
akabiru 7ca6e5d
chore: Address review comments
akabiru 491b63a
chore: Skip Gem::Deprecate warning output in CLI
akabiru File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
chore: Don't specify bunlder version
There's an erroneous 'null byte' error in the CI which could be caused by the bundler version. Further, As of Ruby 2.6.0, bundler is now built into Ruby, so no need to install it ourselves
- Loading branch information
commit a80062191d02d1903ad24f06b423a011de82a903
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Adding these dependencies is a pretty big deal. Are we comfortable with them? I saw the terminal response. It's pretty cool.
Thoughts? @stympy
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That's a valid concern, from my POV, these libraries go a long way in making the CLI interface easier to work with. 🙂 The alternative would be to write it all ourselves which I'm not sure about
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
FWIW, I find all these dependencies to be a big deal. I opened an issue about it (#1642) and plan to stay on 1.9.3 for the time being.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@myronmarston your concern is valid.
@akabiru would you agree to remove these dependencies and just show a formatted list of searched results?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey folks, apologies for the very delayed response (on vacation). I think the move to a separate gem is the sensible approach. And allows users to opt-in into using the gem.
It did start as a separate gem , no strong objections on this one. 🙂
@vbrazo I'm happy to assist with the extraction &/migration as well.