-
-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* docload1 * docload2 * docload3 * update to @lando/[email protected]
- Loading branch information
Showing
24 changed files
with
3,211 additions
and
697 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,6 +20,43 @@ export default defineConfig({ | |
['link', {rel: 'icon', href: '/cli/favicon.svg', type: 'image/svg+xml'}], | ||
], | ||
themeConfig: { | ||
contributors: { | ||
merge: 'name', | ||
debotify: true, | ||
include: [ | ||
{ | ||
name: 'Mike Pirog', | ||
email: '[email protected]', | ||
title: 'Co-founder', | ||
org: 'lando.dev', | ||
orgLink: 'https://lando.dev', | ||
desc: 'SLAVE4U', | ||
links: [ | ||
{icon: 'github', link: 'https://github.com/pirog'}, | ||
{icon: 'x', link: 'https://x.com/pirogcommamike'}, | ||
], | ||
sponsor: 'https://lando.dev/sponsor', | ||
maintainer: true, | ||
mergeOnly: true, | ||
}, | ||
{ | ||
avatar: 'https://avatars.githubusercontent.com/u/1153738', | ||
name: 'Alec Reynolds', | ||
email: '[email protected]', | ||
title: 'Co-founder', | ||
org: 'lando.dev', | ||
orgLink: 'https://lando.dev', | ||
desc: 'A chill dude', | ||
links: [ | ||
{icon: 'github', link: 'https://github.com/reynoldsalec'}, | ||
{icon: 'x', link: 'https://x.com/reynoldsalec'}, | ||
], | ||
sponsor: 'https://lando.dev/sponsor', | ||
maintainer: true, | ||
mergeOnly: true, | ||
}, | ||
], | ||
}, | ||
sidebar: sidebar(), | ||
}, | ||
}); | ||
|
@@ -39,15 +76,15 @@ function sidebar() { | |
items: [ | ||
{text: 'lando config', link: '/config'}, | ||
{text: 'lando destroy', link: '/destroy'}, | ||
{text: 'lando init', link: '/init'}, | ||
{text: 'lando exec <span class="VPBadge success" vertical="middle"><small>NEW!</small></span>', link: '/exec'}, | ||
{text: 'lando info', link: '/info'}, | ||
{text: 'lando init', link: '/init'}, | ||
{text: 'lando list', link: '/list'}, | ||
{text: 'lando logs', link: '/logs'}, | ||
{text: 'lando poweroff', link: '/poweroff'}, | ||
{text: 'lando rebuild', link: '/rebuild'}, | ||
{text: 'lando restart', link: '/restart'}, | ||
{text: 'lando share', link: '/share'}, | ||
{text: 'lando ssh', link: '/ssh'}, | ||
{text: 'lando ssh <span class="VPBadge danger" vertical="middle"><small>DEPRECATED</small></span>', link: '/ssh'}, | ||
{text: 'lando start', link: '/start'}, | ||
{text: 'lando stop', link: '/stop'}, | ||
{text: 'lando update', link: '/update'}, | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
--- | ||
title: lando exec | ||
description: lando exec runs command(s) on a service | ||
--- | ||
|
||
# lando exec | ||
|
||
Runs command(s) on a service. | ||
|
||
::: tip | ||
`lando exec` is a **new** command intended to replace `lando ssh`. However, it currently works best on `api: 4` services. If you are experiencing issues on `api: 3` services we recommend you continue using [`lando ssh`](./ssh.md). | ||
::: | ||
|
||
## Usage | ||
|
||
```sh | ||
lando exec <service> [--user <user>] -- <command> | ||
``` | ||
|
||
## Arguments | ||
|
||
```sh | ||
service Runs on this service [string] [choices: "web", "web2", "web3", "web4"] | ||
``` | ||
|
||
### Options | ||
|
||
```sh | ||
--channel Sets the update channel [array] [choices: "edge", "none", "stable"] | ||
--clear Clears the lando tasks cache [boolean] | ||
--debug Shows debug output [boolean] | ||
--help Shows lando or delegated command help if applicable [boolean] | ||
--verbose, -v Runs with extra verbosity [count] | ||
--user, -u Runs as a specific user | ||
``` | ||
## Examples | ||
```sh | ||
# Drops into a lando environment bash shell on the appserver | ||
lando exec appserver -- lash bash | ||
|
||
# Resolves the nginx services identity crisis | ||
lando exec nginx --user root -- whoami | ||
|
||
# Prints the environment and a wise greeting on my-service | ||
lando exec my-service -- "env && echo 'hello there!'" | ||
|
||
# Launches a background service on worker | ||
lando exec worker -- "background-service &" | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.