Skip to content

[NOT-650] Add profile duplication command - #53

Draft
leo-notte wants to merge 2 commits into
mainfrom
feat/profile-duplication
Draft

[NOT-650] Add profile duplication command#53
leo-notte wants to merge 2 commits into
mainfrom
feat/profile-duplication

Conversation

@leo-notte

@leo-notte leo-notte commented Jul 27, 2026

Copy link
Copy Markdown
Contributor

Summary

  • add notte profiles duplicate --profile-id <id>
  • accept an optional --name
  • use the authenticated API client transport
  • cover method, path, payload, and output

Companion to nottelabs/monorepo#1918.

Linear: NOT-650 https://linear.app/nottelabsinc/issue/NOT-650/notte-cli-pr-53-add-profile-duplication-command

@greptile-apps

greptile-apps Bot commented Jul 27, 2026

Copy link
Copy Markdown

Greptile Summary

Adds profile duplication support:

  • Registers notte profiles duplicate with required --profile-id and optional --name flags.
  • Sends the duplication request through the authenticated API client transport and formats the returned profile.
  • Adds a unit test covering the request method, path, payload, and command output.

Confidence Score: 5/5

The PR appears safe to merge.

No blocking failure remains.

Important Files Changed

Filename Overview
internal/cmd/profiles.go Adds and registers the profile duplication command, builds its authenticated POST request, handles API errors, and prints the duplicated profile.
internal/cmd/profiles_test.go Adds focused coverage for the duplicate command's HTTP method, endpoint, optional name payload, and rendered profile output.

Reviews (3): Last reviewed commit: "feat: add profile duplication command" | Re-trigger Greptile

@giordano-lucas giordano-lucas changed the title Add profile duplication command [NOT-650] Add profile duplication command Jul 28, 2026
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.

1 participant