Skip to main content
Glama

HRFCO Service

postinstall.js1.92 kB
import process from 'process' import chalk from 'chalk' import { createMainCommand } from '../dist/commands/index.js' import { generateAutocompletion } from '../dist/lib/completion/index.js' const id = (message) => message /** * * @param {string} message * @param {Array<chalk['Color'] | chalk['Modifiers']>} styles * @returns */ const format = (message, styles) => { let func = id try { func = chalk styles.forEach((style) => { func = func[style] }) } catch {} return func(message) } const postInstall = async () => { // yarn plug and play seems to have an issue with reading an esm file by building up the cache. // as yarn pnp analyzes everything inside the postinstall // yarn pnp executes it out of a .yarn folder .yarn/unplugged/netlify-cli-file-fb026a3a6d/node_modules/netlify-cli/scripts/postinstall.js if (!process.argv[1].includes('.yarn')) { // create or update the autocompletion definition const program = createMainCommand() generateAutocompletion(program) } console.log('') console.log(await format('Success! Netlify CLI has been installed!', ['greenBright', 'bold', 'underline'])) console.log('') console.log('Your device is now configured to use Netlify CLI to deploy and manage your Netlify sites.') console.log('') console.log('Next steps:') console.log('') console.log( ` ${await format('netlify init', [ 'cyanBright', 'bold', ])} Connect or create a Netlify site from current directory`, ) console.log( ` ${await format('netlify deploy', ['cyanBright', 'bold'])} Deploy the latest changes to your Netlify site`, ) console.log('') console.log(`For more information on the CLI run ${await format('netlify help', ['cyanBright', 'bold'])}`) console.log(`Or visit the docs at ${await format('https://cli.netlify.com', ['cyanBright', 'bold'])}`) console.log('') } await postInstall()

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/kwenhwang/hrfco-service'

If you have feedback or need assistance with the MCP directory API, please join our Discord server