pub enum ProjectCommand {
Show 22 variants
Inspect {
root: PathBuf,
},
Files {
root: PathBuf,
},
Search {
query: String,
limit: usize,
root: PathBuf,
},
Read {
path: String,
root: PathBuf,
},
Edit {
path: String,
content: Option<String>,
input: Option<PathBuf>,
root: PathBuf,
},
Mkdir {
path: String,
root: PathBuf,
},
Rename {
from: String,
to: String,
root: PathBuf,
},
Delete {
path: String,
yes: bool,
root: PathBuf,
},
Diagnostics {
path: String,
root: PathBuf,
},
Run {
name: String,
command: Option<String>,
wait: bool,
root: PathBuf,
},
Test {
root: PathBuf,
},
Lint {
root: PathBuf,
},
Process {
root: PathBuf,
action: ProjectProcessCommand,
},
Diff {
root: PathBuf,
},
Link {
entity: String,
path: String,
start_line: u32,
end_line: u32,
provenance: String,
confidence: f32,
detail: String,
root: PathBuf,
},
Graph {
root: PathBuf,
action: ProjectGraphCommand,
},
Breakpoint {
kind: String,
entity: String,
before: PathBuf,
after: PathBuf,
root: PathBuf,
},
Timeline {
root: PathBuf,
},
Replay {
start: usize,
limit: usize,
root: PathBuf,
},
Neovim {
root: PathBuf,
action: NeovimCommand,
},
Experiment {
root: PathBuf,
action: ExperimentCommand,
},
Attach {
actor: String,
root: PathBuf,
},
}Variants§
Inspect
Detect the project and print its runtime configuration.
Files
List bounded project files.
Search
Search files, browser entities, processes, events, and commands.
Read
Read one workspace-confined file.
Edit
Edit and save one file through the native buffer contract.
Mkdir
Create a workspace-confined directory, including missing parents.
Rename
Rename or move one workspace-confined file or directory.
Delete
Delete one file or an empty directory after explicit confirmation.
Diagnostics
Request real diagnostics from rust-analyzer through LSP.
Run
Start a named development process in a real PTY.
Test
Run the detected test command in a PTY and wait for completion.
Lint
Run the detected lint command in a PTY and wait for completion.
Process
Inspect, start, stop, or read a managed process.
Diff
Show code, runtime, semantic, and workflow impact.
Link
Record an explicit source/runtime relationship with evidence.
Fields
Graph
Discover or inspect bidirectional source/runtime graph links.
Breakpoint
Evaluate one semantic regression breakpoint against two snapshots.
Timeline
Show the bounded development timeline.
Replay
Replay a bounded window of attributed development revisions.
Neovim
Probe or launch Neovim integration.
Experiment
Create an isolated Git worktree development experiment.
Attach
Attach an external actor to the attributed development timeline.
Trait Implementations§
Source§impl Debug for ProjectCommand
impl Debug for ProjectCommand
Source§impl FromArgMatches for ProjectCommand
impl FromArgMatches for ProjectCommand
Source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
Source§fn from_arg_matches_mut(
__clap_arg_matches: &mut ArgMatches,
) -> Result<Self, Error>
fn from_arg_matches_mut( __clap_arg_matches: &mut ArgMatches, ) -> Result<Self, Error>
Source§fn update_from_arg_matches(
&mut self,
__clap_arg_matches: &ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches( &mut self, __clap_arg_matches: &ArgMatches, ) -> Result<(), Error>
ArgMatches to self.Source§fn update_from_arg_matches_mut<'b>(
&mut self,
__clap_arg_matches: &mut ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches_mut<'b>( &mut self, __clap_arg_matches: &mut ArgMatches, ) -> Result<(), Error>
ArgMatches to self.Source§impl Subcommand for ProjectCommand
impl Subcommand for ProjectCommand
Source§fn augment_subcommands<'b>(__clap_app: Command) -> Command
fn augment_subcommands<'b>(__clap_app: Command) -> Command
Source§fn augment_subcommands_for_update<'b>(__clap_app: Command) -> Command
fn augment_subcommands_for_update<'b>(__clap_app: Command) -> Command
Command so it can instantiate self via
FromArgMatches::update_from_arg_matches_mut Read moreSource§fn has_subcommand(__clap_name: &str) -> bool
fn has_subcommand(__clap_name: &str) -> bool
Self can parse a specific subcommandAuto Trait Implementations§
impl Freeze for ProjectCommand
impl RefUnwindSafe for ProjectCommand
impl Send for ProjectCommand
impl Sync for ProjectCommand
impl Unpin for ProjectCommand
impl UnsafeUnpin for ProjectCommand
impl UnwindSafe for ProjectCommand
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more