Flagsmith / Flagsmith/flagsmith-cli

Can't list flags given an environment

Open
#66 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
12
Forks
3
Avg merge
14h 56m
Merged PRs (30d)
8

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.
```

Contributor guide

No contributing guide indexed for this repository

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.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.