uselagoon / uselagoon/lagoon-cli

Add arguments to invoke task

Open
#262 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Go
Stars
28
Forks
14
Avg merge
1d 2h
Merged PRs (30d)
1

Description

Currently we're unable to pass arguments through to custom tasks.

I would like to be able to specify arguments in the form of:

lagoon run invoke -p example -e main -N "advanced task name" [--argument=NAME=VALUE|..]

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at the CLI entry point for lagoon run invoke and inspect how its existing flags and custom-task invocation are parsed. Trace the arguments into the task execution path, then verify that repeated or multiple --argument=NAME=VALUE options reach the custom task as requested.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
cli
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.