#string #replace #character #input #sus #ultra #

app amongify

一个非常ඞ susඞ的程序

1 个不稳定版本

0.1.0 2024年1月26日

#942 in 文本处理

MIT 许可证

12KB
140

Rust Amongify

你可以责怪 @JasonX5 使得这个现有的

接收一个输入字符串并将其中的某些字符随机替换为ඞ

ULTRAඞSUSඞ模式™️

在使用此程序之前,了解ULTRAඞSUSඞ模式™️是什么会很好。所以基本上,将所有出现的sus替换为,并在字符串处理完成后,如果字符总数为69或420,则显示一条消息。

注意:在使用ULTRAඞSUSඞ模式™️时,有非常小的可能性会发生围绕那个不应被提及的视频游戏的集体歇斯底里,宇宙将经历一个假真空衰变或发生一个 ധK-Class 情景

安装

确保您已安装Rust和Cargo

日常使用

cargo安装 amongify

贡献

  1. 使用Git克隆此仓库
  2. cd 到克隆的目录并运行 cargo build --release 以在 ./target/release/ 构建可执行文件

使用

amongify --help

A very ඞ sus ඞ program

Sussifies an input string
For each character on the input string, there is a n/m chance of itbeing replaced with ඞ, where n = 1 unless set by the user using--sus option and m = 10 unless set using the --max-sus option

ULTRASUSMODE™️
Please be very careful when you are using the ULTRASUSMODE™️. Incorrect usage of it can result in mass hysteria, false vacuum decay or/and an ധK-Class scenario

Replaces all occurences of the word "sus" (lowercase and uppercase) with ඞ. Furthermore, it displays a funni message if the total number of ඞ occurences after the processing of the input string is over sum up to either 69 or 420

Usage: amongify [OPTIONS] <string>

Arguments:
  <string>
          Input string to ඞ sussify ඞ

Options:
  -s, --sus <sussiness>
          How ඞ sus ඞ you want the output string to be
          
          [default: 1]

      --max-sus <max-sussiness>
          Set a new upper limit for how ඞ sus ඞ the output string can be
          
          [default: 10]

  -U, --ultra-sus
          Activate the ULTRASUSMODE™️. I sure hope you know what you are doing

  -y
          Skip all safety checks when running ULTRASUSMODE™️
          
          WARNING: This will make the program ultra ඞ sus ඞ. By running this you accept the possibility that a specialised Interpol unit may be deployed near your location because you are being ultra ඞ sus ඞ

  -h, --help
          Print help (see a summary with '-h')

  -V, --version
          Print version

依赖项

~3.5–5MB
~92K SLoC