uselagoon / uselagoon/lagoon-cli

Allow availability to be updated in a project

Open
#287 2 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

Is your feature request related to a problem? Please describe.

I would like Lagoon CLI to be able to update a Lagoon project for the availability flag.

mutation updateProject {
  updateProject(input: {id: 1238, patch: {availability: HIGH}}) {
    id
  }
}

Describe the solution you'd like

A new option in lagoon update project

Describe alternatives you've considered

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 lagoon update project command and trace how it builds the updateProject mutation shown in the issue. Add the availability option so it can send the requested patch value, then verify that updating a project includes availability in the mutation input.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.