mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-01 22:31:43 +00:00
Use cli parser with auto-generated help
This commit is contained in:
parent
9860a39603
commit
4ce20b80c5
8 changed files with 195 additions and 134 deletions
|
@ -6,9 +6,9 @@ use std::{
|
|||
use anyhow::Result;
|
||||
use xshell::rm_rf;
|
||||
|
||||
pub(crate) struct PreCacheCmd;
|
||||
use crate::flags;
|
||||
|
||||
impl PreCacheCmd {
|
||||
impl flags::PreCache {
|
||||
/// Cleans the `./target` dir after the build such that only
|
||||
/// dependencies are cached on CI.
|
||||
pub(crate) fn run(self) -> Result<()> {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue