Skip to content

Commands

Helge Heß edited this page Sep 23, 2024 · 1 revision

OGo commands are classes that implement a specific kind of operation, similar to an NSOperation. They are looked up using the BundleManager.

Running them on the shell

  • there is a tool to run commands on the shell

Running in Objective-C

Examples

  account = [[self session] activeAccount];
  account = [self runCommand:@"person::get",
                    @"companyId",  [account valueForKey:@"companyId"],
                  nil];
  addrs = [self runCommand:@"address::get",
                @"companyId",  [account valueForKey:@"companyId"],
                @"returnType", intObj(LSDBReturnType_ManyObjects),
             nil];
Clone this wiki locally