initial commit
Signed-off-by: NotAShelf <raf@notashelf.dev> Change-Id: I79a875e75937ff6b3739ca36bfb0b2836a6a6964
This commit is contained in:
commit
6203ea7f52
13 changed files with 3226 additions and 0 deletions
22
crates/server/src/main.rs
Normal file
22
crates/server/src/main.rs
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
use clap::Parser;
|
||||
use tracing_subscriber::fmt::init;
|
||||
|
||||
#[derive(Parser)]
|
||||
#[command(name = "fc-server")]
|
||||
#[command(about = "CI Server - Web API and UI")]
|
||||
struct Cli {
|
||||
#[arg(short, long, default_value = "3000")]
|
||||
port: u16,
|
||||
}
|
||||
|
||||
#[tokio::main]
|
||||
async fn main() -> anyhow::Result<()> {
|
||||
let cli = Cli::parse();
|
||||
|
||||
tracing::info!("Starting CI Server on port {}", cli.port);
|
||||
init();
|
||||
|
||||
// TODO: Implement server logic
|
||||
|
||||
Ok(())
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue