feat: add incredibly basic features
This commit is contained in:
parent
298cda64f5
commit
ea6c94a584
6 changed files with 380 additions and 0 deletions
32
build.rs
Normal file
32
build.rs
Normal file
|
@ -0,0 +1,32 @@
|
|||
use roff::{Roff, bold, italic, roman};
|
||||
|
||||
fn main() {
|
||||
let page = Roff::new()
|
||||
.control("TH", ["SESH", "1"])
|
||||
.control("SH", ["NAME"])
|
||||
.text([roman("sesh - Semantic Shell")])
|
||||
.control("SH", ["SYNOPSIS"])
|
||||
.text([
|
||||
bold("sesh"),
|
||||
roman(" [options]"),
|
||||
])
|
||||
.control("SH", ["DESCRIPTION"])
|
||||
.text([
|
||||
bold("sesh"),
|
||||
roman("is a shell designed to be as semantic to use as possible"),
|
||||
])
|
||||
.control("SH", ["OPTIONS"])
|
||||
.control("TP", [])
|
||||
.text([
|
||||
bold("-n"),
|
||||
roman(", "),
|
||||
bold("--bits"),
|
||||
roman("="),
|
||||
italic("BITS"),
|
||||
])
|
||||
.text([roman(
|
||||
"Set the number of bits to modify. Default is one bit.",
|
||||
)])
|
||||
.render();
|
||||
print!("{}", page);
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue