@latentsearch/timemachine-cli
Version:
CLI tool for TimeMachine API. Generates time entries, lists users/projects, and features an enhanced dry-run output for generation.
10 lines (9 loc) • 355 B
TypeScript
import { AxiosInstance } from "axios";
/**
* Resolves a user input (name or ID) to a user ID
*/
export declare function resolveUser(api: AxiosInstance, userInput: string): Promise<number>;
/**
* Resolves a project input (name or ID) to a project ID
*/
export declare function resolveProject(api: AxiosInstance, projectInput: string): Promise<number>;