Piotr OsiewiczTidy up xtaskd3a333b3 years agoHistory
23 lines · 698 B · Rust
RawDownload
use clap::{Parser, Subcommand};use std::path::PathBuf;/// Common utilities for Zed developers.// For more information, see [matklad's repository README](https://github.com/matklad/cargo-xtask/)#[derive(Parser)]#[command(author, version, about, long_about = None)]#[command(propagate_version = true)]pub struct Cli {    #[command(subcommand)]    pub command: Commands,} /// Command to run.#[derive(Subcommand)]pub enum Commands {    /// Builds theme types for interop with Typescript.    BuildThemeTypes {        #[clap(short, long, default_value = "schemas")]        out_dir: PathBuf,        #[clap(short, long, default_value = "theme.json")]        file_name: PathBuf,    },}

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t