phylum-dev / cli

Command line interface for the Phylum API
https://phylum.io
GNU General Public License v3.0
103 stars 11 forks source link

Allow `project status` command to work without `.phylum_project` file #1300

Closed maxrake closed 11 months ago

maxrake commented 11 months ago

Overview

The phylum project status command differs from other commands in that it does not allow a project and group to be specified in order to run without a .phylum_project file in place.

Currently, when a .phylum_project file is missing, the phylum project status command states ✅ No project set or provides {} when --json is supplied. The project/group pair may indeed exist even if the local .phylum_project file does not.

Allowing to specify a project/group pair will enable querying for project status in environments where the Phylum project file is not expected to exist (e.g., CI ecosystems).

Acceptance Criteria