Skip to content

feat(projects): add command to get project info and private network details - #1163

Merged
sc-zenokerr merged 6 commits into
masterfrom
feat/STORY-2400/command-get-project-info
Dec 2, 2025
Merged

sc-zenokerr merged 6 commits into
masterfrom
feat/STORY-2400/command-get-project-info

Conversation

@sc-zenokerr

@sc-zenokerr sc-zenokerr commented Dec 2, 2025 •

Copy link
Copy Markdown
Contributor

Related to [STORY-2400]

Depends on Scalingo/go-scalingo#440

This PR adds a command to get the information for a project.

Example command output:

┌──────────────────────────────────┬──────────────────────────────────────────┐
│          PROJECT FIELD           │                  VALUE                   │
├──────────────────────────────────┼──────────────────────────────────────────┤
│ Name                             │ default                                  │
│ ID                               │ prj-751e5b3c-9511-4c5d-877c-0d9a81bc8c9f │
│ Default                          │ true                                     │
│ Owner                            │ admin-auth                               │
│                                  │                                          │
│ Private Network                  │ true                                     │
│ - ID                             │ pn-9fb7623f-2946-42aa-b841-3b0ef03fba34  │
│ - Subnet                         │ 10.240.0.0/22                            │
│ - Gateway IP                     │ 10.240.0.1/22                            │
│ - Total number of assignable IPs │ 1021                                     │
│ - Used IPs count                 │ 2                                        │
│ - Used IPs                       │ 10.240.0.2                               │
│                                  │ 10.240.0.3                               │
└──────────────────────────────────┴──────────────────────────────────────────┘

@sc-zenokerr
sc-zenokerr requested review from a team and matthieu526-scalingo and removed request for a team December 2, 2025 10:22
@sc-zenokerr sc-zenokerr self-assigned this Dec 2, 2025
@notion-workspace

Copy link
Copy Markdown

@semgrep-code-scalingo

Copy link
Copy Markdown

Legal Risk

The following dependencies were released under a license that
has been flagged by your organization for consideration.

Recommendation

While merging is not directly blocked, it's best to pause and consider what it means to use this license before continuing. If you are unsure, reach out to your security team or Semgrep admin to address this issue.

MPL-2.0

Comment thread README.md Resolved
Comment thread cmd/projects.go Resolved
Comment thread go.mod Resolved
Comment thread projects/list.go Resolved
Comment thread projects/details.go Resolved
Comment thread projects/get.go Resolved
Comment thread projects/details.go Resolved
Comment thread projects/get.go Resolved
Comment thread projects/get.go Resolved
Comment thread projects/details.go Resolved
@sc-zenokerr
sc-zenokerr marked this pull request as ready for review December 2, 2025 15:09
@sc-zenokerr
sc-zenokerr requested a review from a team as a code owner December 2, 2025 15:09
@sc-zenokerr
sc-zenokerr requested review from briceamen and removed request for a team December 2, 2025 15:09

@matthieu526-scalingo matthieu526-scalingo left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great work 🚀

@sc-zenokerr
sc-zenokerr merged commit c896dd8 into master Dec 2, 2025
7 checks passed
@sc-zenokerr
sc-zenokerr deleted the feat/STORY-2400/command-get-project-info branch December 2, 2025 17:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants