UNPKG

netlify-cli

Version:

Netlify command line tool

14 lines (13 loc) 429 B
import { log } from '../../utils/command-helpers.js'; import { openAdmin } from './open-admin.js'; import { openSite } from './open-site.js'; export const open = async (options, command) => { if (!options.site || !options.admin) { log(command.helpInformation()); } if (options.site) { await openSite(options, command); } // Default open netlify admin await openAdmin(options, command); };