@hyperlane-xyz/cli
Version:
A command-line utility for common Hyperlane operations
14 lines • 634 B
TypeScript
import { WarpCoreConfig } from '@hyperlane-xyz/sdk';
import { CommandContext } from '../context/types.js';
/**
* Gets a {@link WarpCoreConfig} based on the provided path or prompts the user to choose one:
* - if `symbol` is provided the user will have to select one of the available warp routes.
* - if `warp` is provided the config will be read by the provided file path.
* - if none is provided the CLI will exit.
*/
export declare function getWarpCoreConfigOrExit({ context, symbol, warp, }: {
context: CommandContext;
symbol?: string;
warp?: string;
}): Promise<WarpCoreConfig>;
//# sourceMappingURL=warp.d.ts.map