Skip to content

Latest commit

 

History

History

token

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

garden netlify-token

Get the current Netlify personal access token provided by the NETLIFY_TOKEN environment variable or the value of the netlify.token git configuration option.

Usage

import { netlifyToken } from '@zendeskgarden/scripts';

(async () => {
  const token = await netlifyToken();

  console.log(token && token.replace(/./gu, '*'));
})();

Command

garden netlify-token [--no-mask]