Initialise `AppState` with placeholder value
Dependencies
- [2]
MIY7QPYKRefactor argument handling into a separate file - [3]
G54GZBS4Remove dependency on clap patches - [*]
C73UJ7ZYCreate simple `xilem_html` demo - [*]
REI53XR4Render argument state as HTML - [*]
ALCCL4VKCreate basic styling
Change contents
- edit in src/main.rs at line 18
// Initialise with placeholder values for debugginglet input = String::from("pijul --name hi two --amount 5");let command = MockApp::command();let arg_matches = command.clone().try_get_matches_from(input.clone().split_ascii_whitespace()); - replacement in src/main.rs at line 26
input: String::new(),command: MockApp::command(),arg_matches: Err(clap::Error::new(clap::error::ErrorKind::TooFewValues)),input,command,arg_matches, - edit in src/main.rs at line 48
.attr("value", state.input.clone()) - edit in index.html at line 23[7.626][7.626]
width: 40%;