Aspiring Rustacean. Whatever-Stack developer who fell in love with React and GraphQL. Addicted to CTRL + ⎵. Building tools to improve developers experience.
It's actually really really simple, It's just a template Readme with placeholders like $PROJECT_NAME ..etc and he reads that template locally from the filesystem or from a string literal stored directly in the program's binary. The CLI prompts you to a few questions and every time you answer a question he go and replace the placeholder with what you have typed. And Voila! you now have a string containing all of the customized Readme information, just dumb it to the terminal.
It's actually really really simple, It's just a template Readme with placeholders like
$PROJECT_NAME
..etc and he reads that template locally from the filesystem or from a string literal stored directly in the program's binary. The CLI prompts you to a few questions and every time you answer a question he go and replace the placeholder with what you have typed. And Voila! you now have a string containing all of the customized Readme information, just dumb it to the terminal.not exactly like that