Browse Source

feat: add Milton Friedman quotes

main
fdai7375 2 years ago
committed by fdai7451
parent
commit
229da0e393
  1. 8
      src/builtins/quote.rs

8
src/builtins/quote.rs

@ -5,7 +5,13 @@ use crate::error::ShellError;
pub struct Quote; pub struct Quote;
const QUOTES: &[(&str, &str)] = &[("test quote", "david")];
const QUOTES: &[(&str, &str)] = &[
("A society that puts equality before freedom will get neither. A society that puts freedom before equality will get a high degree of both.", "Milton Friedman"),
("One of the great mistakes is to judge policies and programs by their intentions rather than their results.","Milton Friedman"),
("Nothing is as permanent as a temporary government program.","Milton Friedman"),
("Underlying most arguments against the free market is a lack of belief in freedom itself.","Milton Friedman"),
("I think that the Internet is going to be one of the major forces for reducing the role of government.","Milton Friedman")
];
impl Builtin for Quote { impl Builtin for Quote {
fn execute(&mut self, _: &mut BuiltinConfig, _: Vec<String>) -> Result<(), ShellError> { fn execute(&mut self, _: &mut BuiltinConfig, _: Vec<String>) -> Result<(), ShellError> {

Loading…
Cancel
Save