Commands

Enum Commands 

Source
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>,
        since: Option<String>,
        until: Option<String>,
        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

Fields

§format: String

Output format (text or json)

§

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: LogEventType

Event type: decision, blocker, milestone, note

§message: String

Event message (markdown supported)

§task: Option<i64>

Target task ID (optional, uses current focused task if not specified)

§format: String

Output format (text or json)

§

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

§query: String

Search query: status keywords (todo/doing/done) or FTS5 syntax

§tasks: bool

Search in tasks (default: true)

§events: bool

Search in events (default: true)

§limit: Option<i64>

Maximum number of results (default: 20)

§offset: Option<i64>

Result offset for pagination (default: 0)

§since: Option<String>

Filter by start time (e.g., “7d”, “1w”, “2025-01-01”)

§until: Option<String>

Filter by end time (e.g., “1d”, “2025-12-31”)

§format: String

Output format (text or json)

§

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

§at: Option<String>

Custom directory to initialize (default: current directory)

§force: bool

Re-initialize even if .intent-engine already exists

§

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

Fields

§task_id: Option<i64>

Task ID to inspect (optional, defaults to current focused task)

§with_events: bool

Include event history

§format: String

Output format (text or json)

Trait Implementations§

Source§

impl Clone for Commands

Source§

fn clone(&self) -> Commands

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl FromArgMatches for Commands

Source§

fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>

Instantiate Self from ArgMatches, parsing the arguments as needed. Read more
Source§

fn from_arg_matches_mut( __clap_arg_matches: &mut ArgMatches, ) -> Result<Self, Error>

Instantiate Self from ArgMatches, parsing the arguments as needed. Read more
Source§

fn update_from_arg_matches( &mut self, __clap_arg_matches: &ArgMatches, ) -> Result<(), Error>

Assign values from ArgMatches to self.
Source§

fn update_from_arg_matches_mut<'b>( &mut self, __clap_arg_matches: &mut ArgMatches, ) -> Result<(), Error>

Assign values from ArgMatches to self.
Source§

impl Subcommand for Commands

Source§

fn augment_subcommands<'b>(__clap_app: Command) -> Command

Append to Command so it can instantiate Self via FromArgMatches::from_arg_matches_mut Read more
Source§

fn augment_subcommands_for_update<'b>(__clap_app: Command) -> Command

Append to Command so it can instantiate self via FromArgMatches::update_from_arg_matches_mut Read more
Source§

fn has_subcommand(__clap_name: &str) -> bool

Test whether Self can parse a specific subcommand

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T> FromRef<T> for T
where T: Clone,

Source§

fn from_ref(input: &T) -> T

Converts to this type from a reference to the input type.
Source§

impl<T> Instrument for T

Source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> IntoEither for T

Source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts 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 more
Source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where F: FnOnce(&Self) -> bool,

Converts 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
Source§

impl<T> PolicyExt for T
where T: ?Sized,

Source§

fn and<P, B, E>(self, other: P) -> And<T, P>
where T: Policy<B, E>, P: Policy<B, E>,

Create a new Policy that returns Action::Follow only if self and other return Action::Follow. Read more
Source§

fn or<P, B, E>(self, other: P) -> Or<T, P>
where T: Policy<B, E>, P: Policy<B, E>,

Create a new Policy that returns Action::Follow if either self or other returns Action::Follow. Read more
Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

Source§

fn vzip(self) -> V

Source§

impl<T> WithSubscriber for T

Source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

impl<A, B, T> HttpServerConnExec<A, B> for T
where B: Body,