UNPKG

netlify-cli

Version:

Netlify command line tool

12 lines 621 B
export const createLinkCommand = (program) => program .command('link') .description('Link a local repo or project folder to an existing site on Netlify') .option('--id <id>', 'ID of site to link to') .option('--name <name>', 'Name of site to link to') .option('--git-remote-name <name>', 'Name of Git remote to use. e.g. "origin"') .addExamples(['netlify link', 'netlify link --id 123-123-123-123', 'netlify link --name my-site-name']) .action(async (options, command) => { const { link } = await import('./link.js'); await link(options, command); }); //# sourceMappingURL=index.js.map