@@ -10,6 +10,8 @@ hideOnThisPage: true
1010| [ ` fern init ` ] ( #fern-init ) | Create new Fern project from OpenAPI spec or scratch |
1111| [ ` fern check ` ] ( #fern-check ) | Validate API definition & configuration |
1212| [ ` fern upgrade ` ] ( #fern-upgrade ) | Update Fern CLI & generators to latest versions |
13+ | [ ` fern login ` ] ( #fern-login ) | Login to Fern CLI via GitHub or Google |
14+ | [ ` fern logout ` ] ( #fern-logout ) | Log out of the Fern CLI |
1315
1416## Documentation Commands
1517
@@ -318,7 +320,7 @@ hideOnThisPage: true
318320
319321 <Accordion title="fern login">
320322
321- Use `fern login` to login to the Fern CLI via GitHub. Logging in allows you
323+ Use `fern login` to login to the Fern CLI via GitHub or Google . Logging in allows you
322324 join GitHub organizations, gain permissions, and contribute to projects.
323325
324326 <CodeBlock title="terminal">
@@ -341,6 +343,21 @@ hideOnThisPage: true
341343
342344 </Accordion>
343345
346+ <Accordion title="fern logout">
347+
348+ Use `fern logout` to log out of the Fern CLI. This will clear your authentication
349+ credentials and revoke access to your GitHub organizations and permissions.
350+
351+ <CodeBlock title="terminal">
352+ ` ` ` bash
353+ fern logout
354+ ` ` `
355+ </CodeBlock>
356+
357+ After logging out, you'll need to run [`fern login`](#fern-login) again to access protected features.
358+
359+ </Accordion>
360+
344361 <Accordion title="fern token">
345362
346363 Use `fern token `to generate a `FERN_TOKEN` specific to your organization defined
0 commit comments