railwayapp 4.54.0

Interact with Railway via CLI
1
2
3
4
5
6
7
8
9
10
11
12
13
use super::*;

/// Starship Metadata
#[derive(Parser)]
#[clap(hide = true)]
pub struct Args {}

pub async fn command(_args: Args) -> Result<()> {
    let configs = Configs::new()?;
    let linked_project = configs.get_linked_project().await?;
    println!("{}", serde_json::to_string(&linked_project)?);
    Ok(())
}