MCPcopy Create free account
hub / github.com/untitaker/hyperlink / MainCommand

Class MainCommand

src/main.rs:31–50  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

29
30#[derive(Bpaf, PartialEq, Debug)]
31struct MainCommand {
32 /// whether to check for valid anchor references
33 #[bpaf(long)]
34 check_anchors: bool,
35
36 /// path to directory of markdown files to use for reporting errors
37 #[bpaf(long("sources"))]
38 sources_path: Option<PathBuf>,
39
40 /// enable specialized output for GitHub actions
41 #[bpaf(long)]
42 github_actions: bool,
43
44 /// the static file path to check
45 ///
46 /// This will be assumed to be the root path of your server as well, so
47 /// href="/foo" will resolve to that folder's subfolder foo
48 #[bpaf(positional("BASE-PATH"))]
49 base_path: Option<PathBuf>,
50}
51
52#[derive(Bpaf, PartialEq, Debug)]
53#[bpaf(options)]

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…