UNPKG

@shipengine/connect

Version:

The official developer tooling for building ShipEngine connect apps

13 lines (12 loc) 445 B
import APIClient from './core/api-client'; import { AppUser } from './core/types'; import { Command as Base } from '@oclif/command'; export default abstract class BaseCommand extends Base { base: string; apiClient(debug?: boolean): Promise<APIClient>; /** * Get the current user logged into the CLI * @returns {Promise<AppUser>} A promise w/ the user object */ getCurrentUser(debug?: boolean): Promise<AppUser>; }