mirror of
https://codeberg.org/Codeberg/pages-server.git
synced 2025-05-24 08:17:14 +02:00
initial commit
This commit is contained in:
commit
363c6a18c4
11 changed files with 589 additions and 0 deletions
14
build.rs
Normal file
14
build.rs
Normal file
|
@ -0,0 +1,14 @@
|
|||
use clap::Shell;
|
||||
|
||||
include!("src/cli.rs");
|
||||
|
||||
fn main() {
|
||||
let outdir = "completions"; // match env::var_os("OUT_DIR") {
|
||||
// None => return,
|
||||
// Some(outdir) => outdir,
|
||||
// };
|
||||
let mut app = build_cli();
|
||||
app.gen_completions("lamp", Shell::Fish, outdir);
|
||||
// app.gen_completions("lamp", Shell::Zsh, outdir); // TODO search for bug
|
||||
app.gen_completions("lamp", Shell::Bash, outdir);
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue