mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-01-26 11:33:59 +00:00
34 lines
601 B
Plaintext
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}}`
|