lando / docs

The main docs site for Lando
https://docs.lando.dev/
GNU General Public License v3.0
20 stars 56 forks source link

Unable to pass shell input to Lando command #69

Closed ivangrynenko closed 4 years ago

ivangrynenko commented 5 years ago

Please complete the following:

Link to the page that needs to be updated or changed. https://docs.lando.dev/config/tooling.html#usage

Describe the change you'd like I cannot find a way to pass a command argument to a lando tooling script. For example: lando download-db "databasename" Not sure if possible at all, as the documentation does not show such an option.

tormi commented 5 years ago

.lando/name.sh

.lando is a folder in the project root next to .lando.yml.

#!/bin/sh

NAME=$1
echo "Hello," $NAME

.lando.yml

tooling:
  name:
    service: appserver
    cmd: 
      - .lando/name.sh

Rebuild Lando with lando rebuild and use tool with lando name Tormi (outputs Hello, Tormi).

stale[bot] commented 5 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions and please check out this if you are wondering why we auto close issues.

stale[bot] commented 4 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions and please check out this if you are wondering why we auto close issues.

stale[bot] commented 4 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions and please check out this if you are wondering why we auto close issues.

stale[bot] commented 4 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions and please check out this if you are wondering why we auto close issues.