pub enum Commands {
Plan {
format: String,
},
Log {
event_type: LogEventType,
message: String,
task: Option<i64>,
format: String,
},
Search {
query: String,
tasks: bool,
events: bool,
limit: Option<i64>,
offset: Option<i64>,
format: String,
},
Init {
at: Option<String>,
force: bool,
},
Dashboard(DashboardCommands),
Doctor,
Status {
task_id: Option<i64>,
with_events: bool,
format: String,
},
}Variants§
Plan
Create or update task structures declaratively
Log
Record events (decisions, blockers, milestones, notes)
Quick event logging for the current focused task or a specific task.
Examples: ie log decision “Chose JWT authentication” ie log blocker “API rate limit hit” –task 42 ie log milestone “MVP complete” ie log note “Consider caching optimization”
Fields
event_type: LogEventTypeEvent type: decision, blocker, milestone, note
Search
Unified search across tasks and events
Smart keyword detection:
- Query with ONLY status keywords (todo, doing, done) → filters by status
- Query with other words → uses FTS5 full-text search
Status filter examples (returns tasks with matching status): ie search “todo doing” # All unfinished tasks (AI session start) ie search “todo” # Only todo tasks ie search “done” # Only completed tasks
FTS5 search examples (full-text search): ie search “JWT authentication” ie search “API AND client” ie search “blocker” –events –no-tasks
Fields
Init
Initialize a new Intent-Engine project
Creates a .intent-engine directory with database in the current working directory.
Examples: ie init # Initialize in current directory ie init –at /my/project # Initialize at specific directory
Fields
Dashboard(DashboardCommands)
Dashboard management commands
Doctor
Check system health and dependencies
Status
Show current task context (focus spotlight)
Displays the focused task with its complete context:
- Current task details (full info)
- Ancestors chain (full info)
- Siblings (id + name + status)
- Descendants (id + name + status + parent_id)
Examples: ie status # Show current focused task context ie status 42 # Show task 42’s context (without changing focus) ie status -e # Include event history
Trait Implementations§
Source§impl FromArgMatches for Commands
impl FromArgMatches for Commands
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 Commands
impl Subcommand for Commands
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 Commands
impl RefUnwindSafe for Commands
impl Send for Commands
impl Sync for Commands
impl Unpin for Commands
impl UnwindSafe for Commands
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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