@acurast/cli
Version:
A cli to interact with the Acurast Cloud.
16 lines • 950 B
JavaScript
import { homedir } from 'os';
import { ensureDirectoryExistence } from './util/ensureDirectoryExistence.js';
export const ENV_HELP_LINK = 'https://github.com/Acurast/acurast-cli'; // TODO: Remove
export const getFaucetLinkForAddress = (address) => {
return `https://faucet.acurast.com?address=${address}`;
};
export const ACURAST_BASE_PATH = './.acurast';
ensureDirectoryExistence(ACURAST_BASE_PATH);
// Machine-wide (per-user) directory for state shared across projects, most
// importantly the global `acurast login` session. Project-local `.acurast`
// still holds deployments and keys.
export const ACURAST_GLOBAL_BASE_PATH = `${homedir()}/.acurast`;
export const ACURAST_DEPLOYMENTS_PATH = `${ACURAST_BASE_PATH}/deploy`;
ensureDirectoryExistence(ACURAST_DEPLOYMENTS_PATH);
export const ACURAST_CLI_VERSION_CHECK_URL = 'https://raw.githubusercontent.com/Acurast/acurast-cli/refs/heads/main/package.json';
//# sourceMappingURL=constants.js.map