Can't list flags given an environment

Open
#66 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

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

Research direction

Start by tracing the flag list --environment command and how it resolves the project when --project is omitted. Reproduce the command shown in the issue, then verify that an environment belonging to a project can list its flags without reporting "no project."

Written by the indexing model from the issue text.

Description

Given an environment belongs to a project (e.g. flagsmith environments --project 000), I believe the following should work:

❯ flagsmith flag list --environment MySup3rC00lPr0j3ctK3y
Error: no project
Set --project, or `project` in flagsmith.json.
Dominant language
Go
Stars
12
Forks
3
Avg merge
14h 56m
Merged PRs (30d)
8

Contributor guide

No contributing guide indexed for this repository

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.

More from Flagsmith/flagsmith-cli

All issues in Flagsmith/flagsmith-cli

Similar issues

More Go issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.