mirror of
https://codeberg.org/takouhai/strongbad_email.git
synced 2024-11-22 21:08:07 -05:00
feat: add all sbemail content
This commit is contained in:
parent
b98a118d82
commit
e7bdc9c8a3
4 changed files with 2121 additions and 0 deletions
19
LICENSE
Normal file
19
LICENSE
Normal file
|
@ -0,0 +1,19 @@
|
|||
Copyright (c) 2023 Daniel Alejandro Gallegos
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all
|
||||
copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
SOFTWARE.
|
13
README.md
Normal file
13
README.md
Normal file
|
@ -0,0 +1,13 @@
|
|||
# strongbad_email
|
||||
|
||||
A CLI app that prints a random [Strong Bad Email](http://www.hrwiki.org/wiki/Strong_Bad_Email), written in Rust.
|
||||
|
||||
|
||||
|
||||
## License
|
||||
|
||||
All of the text from the Strong Bad Emails are from the [Homestar Runner Wiki](http://www.hrwiki.org).
|
||||
|
||||
All of the Strong Bad Emails are from [Homestar Runner](https://homestarrunner.com), All Rights Reserved.
|
||||
|
||||
This program is licensed under the [MIT License](LICENSE).
|
|
@ -12,6 +12,7 @@ struct Sbemails {
|
|||
struct Emails {
|
||||
number: u8,
|
||||
title: String,
|
||||
content: String,
|
||||
}
|
||||
|
||||
fn main() {
|
||||
|
@ -23,5 +24,6 @@ fn main() {
|
|||
let sbemail = sbemails.emails.choose(&mut random_number).unwrap();
|
||||
println!("sbemail number: {:?}", sbemail.number);
|
||||
println!("sbemail title: {:?}", sbemail.title);
|
||||
println!("sbemail content: {:?}", sbemail.content);
|
||||
}
|
||||
|
||||
|
|
2087
src/sbemails.toml
2087
src/sbemails.toml
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue