uselagoon / uselagoon/lagoon-cli

Use consistent flag for setting auto idle on envs and projects

Open
#351 5 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

The only place that auto-idle is used as an option is in the Environment command
https://github.com/uselagoon/lagoon-cli/blob/146b2723dce8cab579d66f093c43a9f285a312fa/cmd/environment.go#L164

These should all be the same (ie autoIdle) IMO

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 in cmd/environment.go at the auto-idle option around line 164, then inspect the project command definitions for their corresponding flags. Compare the names and usage of the auto-idle options across environment and project commands. Done means all of these options use the same autoIdle flag spelling.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.