Files
cheatsheet-tldr/tldr/expose

34 lines
601 B
Plaintext

---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# expose
> An open source tunnel application for sharing websites.
> More information: <https://beyondco.de/docs/expose>.
- Register your authentication token:
`expose token {{token}}`
- Share the current working directory:
`expose`
- Share the current working directory with a specific subdomain:
`expose --subdomain={{subdomain}}`
- Share a local URL:
`expose share {{url}}`
- Run the Expose server:
`expose serve`
- Run the Expose server with a specific hostname:
`expose serve {{hostname}}`