ogata-k / fakes-gen-cli Goto Github PK
View Code? Open in Web Editor NEWLibrary and CLI tool for generating fake data as formatted as CSV, TSV and JSON.
Library and CLI tool for generating fake data as formatted as CSV, TSV and JSON.
I want to create @<name value> or <fullname>(<furigana>) .
Do you add format "Join(<FakeOption>#<FakeOption>)" as <FakeOption>?
I think <format_option> is option paramator in DateTime.DateTime(<column_name>#<format_string>)
Select.String(hoge#) is error. But, i want to select value from "''".
(size: n, use_header_flag) | converter | with_header | |
---|---|---|---|
(1, T) | csv | T | |
(1, F) | csv | F | |
? | (n>1, T) | csv | F |
? | (n>1, F) | csv | T |
(1, T) | tsv | T | |
(1, F) | tsv | F | |
? | (n>1, T) | tsv | F |
? | (n>1, F) | tsv | T |
(1, T) | json | T | |
(1, F) | json | F | |
? | (n>1, T) | json | F |
? | (n>1, F) | json | T |
So, when size is more than 1, condition flipped.
i want to open in Excel with no covert for char code.
when do commane: fakes-gen DateTime.Date(_), then do panic.
Error message is """
thread 'main' panicked at 'a formatting trait implementation returned an error: Error', src\libcore\result.rs:1084:5
note: run with RUST_BACKTRACE=1
environment variable to display a backtrace.
"""
I think --header flag is --fullform flag.
i want index number column
Why is arg of parse_string list of string? Can covert to use string?
// cli/scanner.rs
fn parse_string(subs: &[String]) -> Result<String, ScannerError> {
if subs.is_empty() {
return Ok(String::default());
} else {
if subs.len() != 1 {
return Err(ScannerError::UnknownStringFormat(subs.to_vec()));
} else {
return Ok(subs[0].to_string());
}
}
}
fakes-gen -f -c json -s 10 -- Name.FullName(hoge) With.Join(asd#-#Name.FullName()#Fixed.String(hoge)#4#Fixed.NotString(34))
Format Err: Unknown characters ""
FullName() <- fail parsing?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.