-
-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
fakedata: add page #5675
Merged
Merged
fakedata: add page #5675
Changes from all commits
Commits
Show all changes
12 commits
Select commit
Hold shift + click to select a range
2d7d3ce
fakedata: add page
nicokosi 9053889
Apply suggestions from code review
nicokosi 468978c
Apply suggestions from code review
nicokosi 5c071a6
Apply suggestions from code review
nicokosi 8f16c05
Apply suggestions from code review
nicokosi 7373486
Apply suggestions from code review
nicokosi 5f361c2
Apply suggestions from code review
nicokosi c687b5f
Apply suggestions from code review
nicokosi 1c0bcc0
Apply suggestions from code review
nicokosi 8ce9022
Apply suggestions from code review
nicokosi 7e015d9
Update pages/common/fakedata.md
nicokosi 8cba3ec
Simplify label
nicokosi 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
# fakedata | ||
|
||
> Generate fake data using a large variety of generators. | ||
> More information: <https://github.com/lucapette/fakedata>. | ||
|
||
- List all valid generators: | ||
|
||
`fakedata --generators` | ||
|
||
- Generate data using one or more generators: | ||
|
||
`fakedata {{generator1}} {{generator2}}` | ||
|
||
- Generate data with a specific output format: | ||
|
||
`fakedata --format {{csv|tab|sql}} {{generator}}` | ||
|
||
- Generate a given number of data items (defaults to 10): | ||
|
||
`fakedata --limit {{n}} {{generator}}` | ||
|
||
- Generate data using a custom output template (the first letter of generator names must be capitalized): | ||
|
||
`echo "{{\{\{Generator\}\}}}" | fakedata` | ||
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.
Oh wow, this is a very awkward situation here. We don't actually define any standard way to escape this in the client spec. This is the only thing we mention:
So the escaping with the backward slashes won't be handled correctly here. What happens if you remove the backwards slashes? How do clients handle that? I would assume that since the syntax can't be nested they would display it?
I think a client spec update is in order to properly define our non-standard token syntax.
Sorry to drag the review process out!
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.
Also @sbrl some clients just blindly replace
{{
and}}
with ANSI codes/HTML to highlight, e.g. hidroh/tldroid (though that client it no longer maintained and we're going to remove it soon I think, #4044)