Skip to main content

execute

Function execute 

Source
pub fn execute(global: bool, force: bool, json: bool) -> Result<()>
Expand description

Execute the init command.

  • Global mode: Creates the shared database at ~/.savecontext/data/savecontext.db
  • Project mode: Creates per-project .savecontext/ for JSONL exports only

ยงErrors

Returns an error if the directory or database cannot be created.