Repository: scaleway/scaleway-cli
Pull request #4360 (2024-12-13 15:34:03)

fix(core): move human package
### Community Note

* Please vote on this pull request by adding a 👍 [reaction](https://blog.github.com/2016-03-10-add-reactions-to-pull-requests-issues-and-comments/) to the original pull request comment to help the community and maintainers prioritize this request.
* Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for pull request followers and do not help prioritize the request

<!--- Thank you for keeping this note for the community --->

<!--- If your PR fully resolves and should automatically close the linked issue, use Closes. Otherwise, use Relates --->
Relates OR Closes #0000

Release note for [CHANGELOG](https://github.com/scaleway/scaleway-cli/blob/master/CHANGELOG.md):
<!--
If the change is not user facing, just write "NONE" in the release-note block below.
-->

```release-note

```


codecov-commenter: ## [Codecov](https://app.codecov.io/gh/scaleway/scaleway-cli/pull/4360?dropdown=coverage&src=pr&el=h1&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=scaleway) Report
All modified and coverable lines are covered by tests :white_check_mark:
> Project coverage is 70.85%. Comparing base [(`5bf53e0`)](https://app.codecov.io/gh/scaleway/scaleway-cli/commit/5bf53e08f3fb10f86b490ff7e674c655f0235348?dropdown=coverage&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=scaleway) to head [(`1107990`)](https://app.codecov.io/gh/scaleway/scaleway-cli/commit/110799007daadeb8de63878c818c439e5ff5064a?dropdown=coverage&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=scaleway).
> Report is 392 commits behind head on master.

<details><summary>Additional details and impacted files</summary>


```diff
@@            Coverage Diff             @@
##           master    #4360      +/-   ##
==========================================
- Coverage   75.45%   70.85%   -4.60%     
==========================================
  Files         202      294      +92     
  Lines       44323    65486   +21163     
==========================================
+ Hits        33444    46403   +12959     
- Misses       9653    17453    +7800     
- Partials     1226     1630     +404     
```

</details>

[:umbrella: View full report in Codecov by Sentry](https://app.codecov.io/gh/scaleway/scaleway-cli/pull/4360?dropdown=coverage&src=pr&el=continue&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=scaleway).   
:loudspeaker: Have feedback on the report? [Share it here](https://about.codecov.io/codecov-pr-comment-feedback/?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=scaleway).


Patch:
diff --git a/core/command.go b/core/command.go
index bc995bc3..728ebee5 100644
--- a/core/command.go
+++ b/core/command.go
@@ -7,8 +7,8 @@ import (
 	"sort"
 	"strings"
 
+	"github.com/scaleway/scaleway-cli/v2/core/human"
 	"github.com/scaleway/scaleway-cli/v2/internal/alias"
-	"github.com/scaleway/scaleway-cli/v2/internal/human"
 )
 
 // Command represent a CLI command. From this higher level type we create Cobra command objects.
diff --git a/core/error.go b/core/error.go
index b5c1f3a3..c4ac7112 100644
--- a/core/error.go
+++ b/core/error.go
@@ -5,7 +5,7 @@ import (
 	"fmt"
 	"strings"
 
-	"github.com/scaleway/scaleway-cli/v2/internal/human"
+	"github.com/scaleway/scaleway-cli/v2/core/human"
 )
 
 // CliError is an all-in-one error structure that can be used in commands to return useful errors to the user.
diff --git a/internal/human/specs.go b/core/human/specs.go
similarity index 100%
rename from internal/human/specs.go
rename to core/human/specs.go
diff --git a/internal/human/utils.go b/core/human/utils.go
similarity index 100%
rename from internal/human/utils.go
rename to core/human/utils.go
diff --git a/core/printer.go b/core/printer.go
index 38840f49..f66f5fe7 100644
--- a/core/printer.go
+++ b/core/printer.go
@@ -9,8 +9,8 @@ import (
 	"strings"
 	"text/template"
 
+	"github.com/scaleway/scaleway-cli/v2/core/human"
 	"github.com/scaleway/scaleway-cli/v2/internal/gofields"
-	"github.com/scaleway/scaleway-cli/v2/internal/human"
 	"gopkg.in/yaml.v3"
 )
 
diff --git a/core/result.go b/core/result.go
index 4d5fc79b..75dd9efb 100644
--- a/core/result.go
+++ b/core/result.go
@@ -6,7 +6,7 @@ import (
 	"strings"
 
 	"github.com/fatih/color"
-	"github.com/scaleway/scaleway-cli/v2/internal/human"
+	"github.com/scaleway/scaleway-cli/v2/core/human"
 	"github.com/scaleway/scaleway-cli/v2/internal/interactive"
 	"github.com/scaleway/scaleway-cli/v2/internal/terminal"
 	"github.com/scaleway/scaleway-sdk-go/strcase"
diff --git a/core/view.go b/core/view.go
index 823e9d18..d4fc053f 100644
--- a/core/view.go
+++ b/core/view.go
@@ -1,7 +1,7 @@
 package core
 
 import (
-	"github.com/scaleway/scaleway-cli/v2/internal/human"
+	"github.com/scaleway/scaleway-cli/v2/core/human"
 )
 
 // View hydrates human.MarshalOpt
diff --git a/docs/commands/iam.md b/docs/commands/iam.md
index 6bf9110e..6a5ad488 100644
--- a/docs/commands/iam.md
+++ b/docs/commands/iam.md
@@ -59,6 +59,7 @@ This API allows you to manage Identity and Access Management (IAM) across your S
   - [List users of an Organization](#list-users-of-an-organization)
   - [Update a user](#update-a-user)
   - [Update an user's password. Private Beta feature.](#update-an-user's-password.-private-beta-feature.)
+  - [Update an user's username. Private Beta feature.](#update-an-user's-username.-private-beta-feature.)
 
   
 ## API keys management commands
@@ -1171,3 +1172,23 @@ scw iam user update-password <user-id ...> [arg=value ...]
 
 
 
+### Update an user's username. Private Beta feature.
+
+Update an user's username. Private Beta feature.
+
+**Usage:**
+
+```
+scw iam user update-username <user-id ...> [arg=value ...]
+```
+
+
+**Args:**
+
+| Name |   | Description |
+|------|---|-------------|
+| user-id | Required | ID of the user to update |
+| username | Required | The new username |
+
+
+
diff --git a/go.mod b/go.mod
index f8163733..670a4197 100644
--- a/go.mod
+++ b/go.mod
@@ -26,7 +26,7 @@ require (
 	github.com/mattn/go-isatty v0.0.20
 	github.com/moby/buildkit v0.13.2
 	github.com/opencontainers/go-digest v1.0.0
-	github.com/scaleway/scaleway-sdk-go v1.0.0-beta.30.0.20241209153125-92afa47368ef
+	github.com/scaleway/scaleway-sdk-go v1.0.0-beta.30.0.20241212151423-0d220e058bfc
 	github.com/skratchdot/open-golang v0.0.0-20200116055534-eef842397966
 	github.com/spf13/cobra v1.8.1
 	github.com/spf13/pflag v1.0.5
diff --git a/go.sum b/go.sum
index 7b4af534..664ca7e2 100644
--- a/go.sum
+++ b/go.sum
@@ -466,8 +466,8 @@ github.com/rogpeppe/go-internal v1.11.0/go.mod h1:ddIwULY96R17DhadqLgMfk9H9tvdUz
 github.com/russross/blackfriday/v2 v2.1.0/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM=
 github.com/sabhiram/go-gitignore v0.0.0-20210923224102-525f6e181f06 h1:OkMGxebDjyw0ULyrTYWeN0UNCCkmCWfjPnIA2W6oviI=
 github.com/sabhiram/go-gitignore v0.0.0-20210923224102-525f6e181f06/go.mod h1:+ePHsJ1keEjQtpvf9HHw0f4ZeJ0TLRsxhunSI2hYJSs=
-github.com/scaleway/scaleway-sdk-go v1.0.0-beta.30.0.20241209153125-92afa47368ef h1:WlyvzZzG1ipVvmolk69a7VdWCP5J0nCRxsNGpUspGrc=
-github.com/scaleway/scaleway-sdk-go v1.0.0-beta.30.0.20241209153125-92afa47368ef/go.mod h1:kzh+BSAvpoyHHdHBCDhmSWtBc1NbLMZ2lWHqnBoxFks=
+github.com/scaleway/scaleway-sdk-go v1.0.0-beta.30.0.20241212151423-0d220e058bfc h1:TxTKg5QuwgdKZ3+i1xPgihahVMGoO4zlqkC6zh9aHp4=
+github.com/scaleway/scaleway-sdk-go v1.0.0-beta.30.0.20241212151423-0d220e058bfc/go.mod h1:kzh+BSAvpoyHHdHBCDhmSWtBc1NbLMZ2lWHqnBoxFks=
 github.com/sclevine/spec v1.4.0 h1:z/Q9idDcay5m5irkZ28M7PtQM4aOISzOpj4bUPkDee8=
 github.com/sclevine/spec v1.4.0/go.mod h1:LvpgJaFyvQzRvc1kaDs0bulYwzC70PbiYjC4QnFHkOM=
 github.com/secure-systems-lab/go-securesystemslib v0.8.0 h1:mr5An6X45Kb2nddcFlbmfHkLguCE9laoZCUzEEpIZXA=
diff --git a/internal/interactive/prompt.go b/internal/interactive/prompt.go
index c5e6ccc6..203bd1bc 100644
--- a/internal/interactive/prompt.go
+++ b/internal/interactive/prompt.go
@@ -9,7 +9,7 @@ import (
 
 	"github.com/chzyer/readline"
 	"github.com/fatih/color"
-	"github.com/scaleway/scaleway-cli/v2/internal/human"
+	"github.com/scaleway/scaleway-cli/v2/core/human"
 	"github.com/scaleway/scaleway-cli/v2/internal/terminal"
 )
 
diff --git a/internal/namespaces/applesilicon/v1alpha1/custom.go b/internal/namespaces/applesilicon/v1alpha1/custom.go
index f86aab89..f3f08a8e 100644
--- a/internal/namespaces/applesilicon/v1alpha1/custom.go
+++ b/internal/namespaces/applesilicon/v1alpha1/custom.go
@@ -2,7 +2,7 @@ package applesilicon
 
 import (
 	"github.com/scaleway/scaleway-cli/v2/core"
-	"github.com/scaleway/scaleway-cli/v2/internal/human"
+	"github.com/scaleway/scaleway-cli/v2/core/human"
 	applesilicon "github.com/scaleway/scaleway-sdk-go/api/applesilicon/v1alpha1"
 )
 
diff --git a/internal/namespaces/applesilicon/v1alpha1/custom_os.go b/internal/namespaces/applesilicon/v1alpha1/custom_os.go
index a57964c2..b86be505 100644
--- a/internal/namespaces/applesilicon/v1alpha1/custom_os.go
+++ b/internal/namespaces/applesilicon/v1alpha1/custom_os.go
@@ -1,7 +1,7 @@
 package applesilicon
 
 import (
-	"github.com/scaleway/scaleway-cli/v2/internal/human"
+	"github.com/scaleway/scaleway-cli/v2/core/human"
 	applesilicon "github.com/scaleway/scaleway-sdk-go/api/applesilicon/v1alpha1"
 )
 
diff --git a/internal/namespaces/applesilicon/v1alpha1/custom_server.go b/internal/namespaces/applesilicon/v1alpha1/custom_server.go
index 54d953a7..b86fa8d4 100644
--- a/internal/namespaces/applesilicon/v1alpha1/custom_server.go
+++ b/internal/namespaces/applesilicon/v1alpha1/custom_server.go
@@ -11,7 +11,7 @@ import (
 
 	"github.com/fatih/color"
 	"github.com/scaleway/scaleway-cli/v2/core"
-	"github.com/scaleway/scaleway-cli/v2/internal/human"
+	"github.com/scaleway/scaleway-cli/v2/core/human"
 	applesilicon "github.com/scaleway/scaleway-sdk-go/api/applesilicon/v1alpha1"
 	"github.com/scaleway/scaleway-sdk-go/scw"
 )
diff --git a/internal/namespaces/applesilicon/v1alpha1/custom_server_types.go b/internal/namespaces/applesilicon/v1alpha1/custom_server_types.go
index a8d60065..55cc0cf1 100644
--- a/internal/namespaces/applesilicon/v1alpha1/custom_server_types.go
+++ b/internal/namespaces/applesilicon/v1alpha1/custom_server_types.go
@@ -6,7 +6,7 @@ import (
 
 	"github.com/fatih/color"
 	"github.com/scaleway/scaleway-cli/v2/core"
-	"github.com/scaleway/scaleway-cli/v2/internal/human"
+	"github.com/scaleway/scaleway-cli/v2/core/human"
 	applesilicon "github.com/scaleway/scaleway-sdk-go/api/applesilicon/v1alpha1"
 )
 
diff --git a/internal/namespaces/baremetal/v1/custom.go b/internal/namespaces/baremetal/v1/custom.go
index 1b1e03a1..f88ad29f 100644
--- a/internal/namespaces/baremetal/v1/custom.go
+++ b/internal/namespaces/baremetal/v1/custom.go
@@ -2,7 +2,7 @@ package baremetal
 
 import (
 	"github.com/scaleway/scaleway-cli/v2/core"
-	"github.com/scaleway/scaleway-cli/v2/internal/human"
+	"github.com/scaleway/scaleway-cli/v2/core/human"
 	baremetal "github.com/scaleway/scaleway-sdk-go/api/baremetal/v1"
 )
 
diff --git a/internal/namespaces/baremetal/v1/custom_offer.go b/internal/namespaces/baremetal/v1/custom_offer.go
index 01abbfb4..8e7e8c8d 100644
--- a/internal/namespaces/baremetal/v1/custom_offer.go
+++ b/internal/namespaces/baremetal/v1/custom_offer.go
@@ -2,7 +2,7 @@ package baremetal
 
 import (
 	"github.com/fatih/color"
-	"github.com/scaleway/scaleway-cli/v2/internal/human"
+	"github.com/scaleway/scaleway-cli/v2/core/human"
 	"github.com/scaleway/scaleway-sdk-go/api/baremetal/v1"
 )
 
diff --git a/internal/namespaces/baremetal/v1/custom_server.go b/internal/namespaces/baremetal/v1/custom_server.go
index af48b184..23e0b367 100644
--- a/internal/namespaces/baremetal/v1/custom_server.go
+++ b/internal/namespaces/baremetal/v1/custom_server.go
@@ -9,7 +9,7 @@ import (
 
 	"github.com/fatih/color"
 	"github.com/scaleway/scaleway-cli/v2/core"
-	"github.com/scaleway/scaleway-cli/v2/internal/human"
+	"github.com/scaleway/scaleway-cli/v2/core/human"
 	baremetal "github.com/scaleway/scaleway-sdk-go/api/baremetal/v1"
 	"github.com/scaleway/scaleway-sdk-go/logger"
 	"github.com/scaleway/scaleway-sdk-go/scw"
diff --git a/internal/namespaces/billing/v2beta1/custom.go b/internal/namespaces/billing/v2beta1/custom.go
index 6043c0bf..446e6175 100644
--- a/internal/namespaces/billing/v2beta1/custom.go
+++ b/internal/namespaces/billing/v2beta1/custom.go
@@ -3,7 +3,7 @@ package billing
 import (
 	"github.com/fatih/color"
 	"github.com/scaleway/scaleway-cli/v2/core"
-	"github.com/scaleway/scaleway-cli/v2/internal/human"
+	"github.com/scaleway/scaleway-cli/v2/core/human"
 	billing "github.com/scaleway/scaleway-sdk-go/api/billing/v2beta1"
 )
 
diff --git a/internal/namespaces/block/v1alpha1/custom.go b/internal/namespaces/block/v1alpha1/custom.go
index d86fa4bf..ec6cc73f 100644
--- a/internal/namespaces/block/v1alpha1/custom.go
+++ b/internal/namespaces/block/v1alpha1/custom.go
@@ -3,7 +3,7 @@ package block
 import (
 	"github.com/fatih/color"
 	"github.com/scaleway/scaleway-cli/v2/core"
-	"github.com/scaleway/scaleway-cli/v2/internal/human"
+	"github.com/scaleway/scaleway-cli/v2/core/human"
 	block "github.com/scaleway/scaleway-sdk-go/api/block/v1alpha1"
 )
 
diff --git a/internal/namespaces/container/v1beta1/custom.go b/internal/namespaces/container/v1beta1/custom.go
index 0a308d0f..90454fd5 100644
--- a/internal/namespaces/container/v1beta1/custom.go
+++ b/internal/namespaces/container/v1beta1/custom.go
@@ -2,7 +2,7 @@ package container
 
 import (
 	"github.com/scaleway/scaleway-cli/v2/core"
-	"github.com/scaleway/scaleway-cli/v2/internal/human"
+	"github.com/scaleway/scaleway-cli/v2/core/human"
 	container "github.com/scaleway/scaleway-sdk-go/api/container/v1beta1"
 )
 
diff --git a/internal/namespaces/container/v1beta1/custom_container.go b/internal/namespaces/container/v1beta1/custom_container.go
index 68964b09..b92476e4 100644
--- a/internal/namespaces/container/v1beta1/custom_container.go
+++ b/internal/namespaces/container/v1beta1/custom_container.go
@@ -7,7 +7,7 @@ import (
 
 	"github.com/fatih/color"
 	"github.com/scaleway/scaleway-cli/v2/core"
-	"github.com/scaleway/scaleway-cli/v2/internal/human"
+	"github.com/scaleway/scaleway-cli/v2/core/human"
 	container "github.com/scaleway/scaleway-sdk-go/api/container/v1beta1"
 	"github.com/scaleway/scaleway-sdk-go/scw"
 )
diff --git a/internal/namespaces/container/v1beta1/custom_cron.go b/internal/namespaces/container/v1beta1/custom_cron.go
index 6d974824..aac8738c 100644
--- a/internal/namespaces/container/v1beta1/custom_cron.go
+++ b/internal/namespaces/container/v1beta1/custom_cron.go
@@ -2,7 +2,7 @@ package container
 
 import (
 	"github.com/fatih/color"
-	"github.com/scaleway/scaleway-cli/v2/internal/human"
+	"github.com/scaleway/scaleway-cli/v2/core/human"
 	container "github.com/scaleway/scaleway-sdk-go/api/container/v1beta1"
 )
 
diff --git a/internal/namespaces/container/v1beta1/custom_namespace.go b/internal/namespaces/container/v1beta1/custom_namespace.go
index e9652d4d..4cc40c3e 100644
--- a/internal/namespaces/container/v1beta1/custom_namespace.go
+++ b/internal/namespaces/container/v1beta1/custom_namespace.go
@@ -6,7 +6,7 @@ import (
 
 	"github.com/fatih/color"
 	"github.com/scaleway/scaleway-cli/v2/core"
-	"github.com/scaleway/scaleway-cli/v2/internal/human"
+	"github.com/scaleway/scaleway-cli/v2/core/human"
 	container "github.com/scaleway/scaleway-sdk-go/api/container/v1beta1"
 	"github.com/scaleway/scaleway-sdk-go/scw"
 )
diff --git a/internal/namespaces/documentdb/v1beta1/custom.go b/internal/namespaces/documentdb/v1beta1/custom.go
index 8ed1b37a..07bec8eb 100644
--- a/internal/namespaces/documentdb/v1beta1/custom.go
+++ b/internal/namespaces/documentdb/v1beta1/custom.go
@@ -3,7 +3,7 @@ package documentdb
 import (
 	"github.com/fatih/color"
 	"github.com/scaleway/scaleway-cli/v2/core"
-	"github.com/scaleway/scaleway-cli/v2/internal/human"
+	"github.com/scaleway/scaleway-cli/v2/core/human"
 	documentdb "github.com/scaleway/scaleway-sdk-go/api/documentdb/v1beta1"
 )
 
diff --git a/internal/namespaces/domain/v2beta1/custom.go b/internal/namespaces/domain/v2beta1/custom.go
index 072db89f..2147be93 100644
--- a/internal/namespaces/domain/v2beta1/custom.go
+++ b/internal/namespaces/domain/v2beta1/custom.go
@@ -2,7 +2,7 @@ package domain
 
 import (
 	"github.com/scaleway/scaleway-cli/v2/core"
-	"github.com/scaleway/scaleway-cli/v2/internal/human"
+	"github.com/scaleway/scaleway-cli/v2/core/human"
 	domain "github.com/scaleway/scaleway-sdk-go/api/domain/v2beta1"
 )
 
diff --git a/internal/namespaces/domain/v2beta1/custom_certificate.go b/internal/namespaces/domain/v2beta1/custom_certificate.go
index afeec9c1..3d586248 100644
--- a/internal/namespaces/domain/v2beta1/custom_certificate.go
+++ b/internal/namespaces/domain/v2beta1/custom_certificate.go
@@ -2,7 +2,7 @@ package domain
 
 import (
 	"github.com/fatih/color"
-	"github.com/scaleway/scaleway-cli/v2/internal/human"
+	"github.com/scaleway/scaleway-cli/v2/core/human"
 	domain "github.com/scaleway/scaleway-sdk-go/api/domain/v2beta1"
 )
 
diff --git a/internal/namespaces/domain/v2beta1/custom_zone.go b/internal/namespaces/domain/v2beta1/custom_zone.go
index 5159076f..7c0052f7 100644
--- a/internal/namespaces/domain/v2beta1/custom_zone.go
+++ b/internal/namespaces/domain/v2beta1/custom_zone.go
@@ -2,7 +2,7 @@ package domain
 
 import (
 	"github.com/fatih/color"
-	"github.com/scaleway/scaleway-cli/v2/internal/human"
+	"github.com/scaleway/scaleway-cli/v2/core/human"
 	domain "github.com/scaleway/scaleway-sdk-go/api/domain/v2beta1"
 )
 
diff --git a/internal/namespaces/feedback/issue.go b/internal/namespaces/feedback/issue.go
index 19a0d81d..71c01972 100644
--- a/internal/namespaces/feedback/issue.go
+++ b/internal/namespaces/feedback/issue.go
@@ -11,7 +11,7 @@ import (
 	"runtime"
 
 	"github.com/scaleway/scaleway-cli/v2/core"
-	"github.com/scaleway/scaleway-cli/v2/internal/human"
+	"github.com/scaleway/scaleway-cli/v2/core/human"
 )
 
 const githubURL = "https://github.com/scaleway/scaleway-cli/issues/new"
diff --git a/internal/namespaces/flexibleip/v1alpha1/custom.go b/internal/namespaces/flexibleip/v1alpha1/custom.go
index 9f899e55..7ae02dfb 100644
--- a/internal/namespaces/flexibleip/v1alpha1/custom.go
+++ b/internal/namespaces/flexibleip/v1alpha1/custom.go
@@ -2,7 +2,7 @@ package flexibleip
 
 import (
 	"github.com/scaleway/scaleway-cli/v2/core"
-	"github.com/scaleway/scaleway-cli/v2/internal/human"
+	"github.com/scaleway/scaleway-cli/v2/core/human"
 	fip "github.com/scaleway/scaleway-sdk-go/api/flexibleip/v1alpha1"
 )
 
diff --git a/internal/namespaces/flexibleip/v1alpha1/custom_ip.go b/internal/namespaces/flexibleip/v1alpha1/custom_ip.go
index f11eb6c3..2d0a471e 100644
--- a/internal/namespaces/flexibleip/v1alpha1/custom_ip.go
+++ b/internal/namespaces/flexibleip/v1alpha1/custom_ip.go
@@ -6,7 +6,7 @@ import (
 
 	"github.com/fatih/color"
 	"github.com/scaleway/scaleway-cli/v2/core"
-	"github.com/scaleway/scaleway-cli/v2/internal/human"
+	"github.com/scaleway/scaleway-cli/v2/core/human"
 	flexibleip "github.com/scaleway/scaleway-sdk-go/api/flexibleip/v1alpha1"
 	"github.com/scaleway/scaleway-sdk-go/scw"
 )
diff --git a/internal/namespaces/flexibleip/v1alpha1/custom_mac.go b/internal/namespaces/flexibleip/v1alpha1/custom_mac.go
index a96efb93..f2625720 100644
--- a/internal/namespaces/flexibleip/v1alpha1/custom_mac.go
+++ b/internal/namespaces/flexibleip/v1alpha1/custom_mac.go
@@ -2,7 +2,7 @@ package flexibleip
 
 import (
 	"github.com/fatih/color"
-	"github.com/scaleway/scaleway-cli/v2/internal/human"
+	"github.com/scaleway/scaleway-cli/v2/core/human"
 	flexibleip "github.com/scaleway/scaleway-sdk-go/api/flexibleip/v1alpha1"
 )
 
diff --git a/internal/namespaces/function/v1beta1/custom.go b/internal/namespaces/function/v1beta1/custom.go
index d083bcae..8506c571 100644
--- a/internal/namespaces/function/v1beta1/custom.go
+++ b/internal/namespaces/function/v1beta1/custom.go
@@ -2,7 +2,7 @@ package function
 
 import (
 	"github.com/scaleway/scaleway-cli/v2/core"
-	"github.com/scaleway/scaleway-cli/v2/internal/human"
+	"github.com/scaleway/scaleway-cli/v2/core/human"
 	function "github.com/scaleway/scaleway-sdk-go/api/function/v1beta1"
 )
 
diff --git a/internal/namespaces/function/v1beta1/custom_cron.go b/internal/namespaces/function/v1beta1/custom_cron.go
index 297f81c9..df94c045 100644
--- a/internal/namespaces/function/v1beta1/custom_cron.go
+++ b/internal/namespaces/function/v1beta1/custom_cron.go
@@ -2,7 +2,7 @@ package function
 
 import (
 	"github.com/fatih/color"
-	"github.com/scaleway/scaleway-cli/v2/internal/human"
+	"github.com/scaleway/scaleway-cli/v2/core/human"
 	function "github.com/scaleway/scaleway-sdk-go/api/function/v1beta1"
 )
 
diff --git a/internal/namespaces/function/v1beta1/custom_function.go b/internal/namespaces/function/v1beta1/custom_function.go
index 9f8f01ba..0c99452b 100644
--- a/internal/namespaces/function/v1beta1/custom_function.go
+++ b/internal/namespaces/function/v1beta1/custom_function.go
@@ -2,7 +2,7 @@ package function
 
 import (
 	"github.com/fatih/color"
-	"github.com/scaleway/scaleway-cli/v2/internal/human"
+	"github.com/scaleway/scaleway-cli/v2/core/human"
 	function "github.com/scaleway/scaleway-sdk-go/api/function/v1beta1"
 )
 
diff --git a/internal/namespaces/function/v1beta1/custom_namespace.go b/internal/namespaces/function/v1beta1/custom_namespace.go
index 3ca93747..b0689230 100644
--- a/internal/namespaces/function/v1beta1/custom_namespace.go
+++ b/internal/namespaces/function/v1beta1/custom_namespace.go
@@ -2,7 +2,7 @@ package function
 
 import (
 	"github.com/fatih/color"
-	"github.com/scaleway/scaleway-cli/v2/internal/human"
+	"github.com/scaleway/scaleway-cli/v2/core/human"
 	function "github.com/scaleway/scaleway-sdk-go/api/function/v1beta1"
 )
 
diff --git a/internal/namespaces/iam/v1alpha1/custom.go b/internal/namespaces/iam/v1alpha1/custom.go
index 5c38fa64..45efd7cc 100644
--- a/internal/namespaces/iam/v1alpha1/custom.go
+++ b/internal/namespaces/iam/v1alpha1/custom.go
@@ -9,8 +9,8 @@ import (
 
 	"github.com/fatih/color"
 	"github.com/scaleway/scaleway-cli/v2/core"
+	"github.com/scaleway/scaleway-cli/v2/core/human"
 	"github.com/scaleway/scaleway-cli/v2/internal/args"
-	"github.com/scaleway/scaleway-cli/v2/internal/human"
 	"github.com/scaleway/scaleway-cli/v2/internal/interactive"
 	iam "github.com/scaleway/scaleway-sdk-go/api/iam/v1alpha1"
 	"github.com/scaleway/scaleway-sdk-go/scw"
diff --git a/internal/namespaces/iam/v1alpha1/iam_cli.go b/internal/namespaces/iam/v1alpha1/iam_cli.go
index 6471d03a..ee0b4255 100644
--- a/internal/namespaces/iam/v1alpha1/iam_cli.go
+++ b/internal/namespaces/iam/v1alpha1/iam_cli.go
@@ -40,6 +40,7 @@ func GetGeneratedCommands() *core.Commands {
 		iamUserUpdate(),
 		iamUserDelete(),
 		iamUserCreate(),
+		iamUserUpdateUsername(),
 		iamUserUpdatePassword(),
 		iamApplicationList(),
 		iamApplicationCreate(),
@@ -676,6 +677,42 @@ func iamUserCreate() *core.Command {
 	}
 }
 
+func iamUserUpdateUsername() *core.Command {
+	return &core.Command{
+		Short:     `Update an user's username. Private Beta feature.`,
+		Long:      `Update an user's username. Private Beta feature.`,
+		Namespace: "iam",
+		Resource:  "user",
+		Verb:      "update-username",
+		// Deprecated:    false,
+		ArgsType: reflect.TypeOf(iam.UpdateUserUsernameRequest{}),
+		ArgSpecs: core.ArgSpecs{
+			{
+				Name:       "user-id",
+				Short:      `ID of the user to update`,
+				Required:   true,
+				Deprecated: false,
+				Positional: true,
+			},
+			{
+				Name:       "username",
+				Short:      `The new username`,
+				Required:   true,
+				Deprecated: false,
+				Positional: false,
+			},
+		},
+		Run: func(ctx context.Context, args interface{}) (i interface{}, e error) {
+			request := args.(*iam.UpdateUserUsernameRequest)
+
+			client := core.ExtractClient(ctx)
+			api := iam.NewAPI(client)
+			return api.UpdateUserUsername(request)
+
+		},
+	}
+}
+
 func iamUserUpdatePassword() *core.Command {
 	return &core.Command{
 		Short:     `Update an user's password. Private Beta feature.`,
diff --git a/internal/namespaces/inference/v1beta1/custom.go b/internal/namespaces/inference/v1beta1/custom.go
index f619042a..c4089752 100644
--- a/internal/namespaces/inference/v1beta1/custom.go
+++ b/internal/namespaces/inference/v1beta1/custom.go
@@ -2,7 +2,7 @@ package inference
 
 import (
 	"github.com/scaleway/scaleway-cli/v2/core"
-	"github.com/scaleway/scaleway-cli/v2/internal/human"
+	"github.com/scaleway/scaleway-cli/v2/core/human"
 	inference "github.com/scaleway/scaleway-sdk-go/api/inference/v1beta1"
 )
 
diff --git a/internal/namespaces/inference/v1beta1/custom_deployment.go b/internal/namespaces/inference/v1beta1/custom_deployment.go
index b6405335..67e83a10 100644
--- a/internal/namespaces/inference/v1beta1/custom_deployment.go
+++ b/internal/namespaces/inference/v1beta1/custom_deployment.go
@@ -10,7 +10,7 @@ import (
 
 	"github.com/fatih/color"
 	"github.com/scaleway/scaleway-cli/v2/core"
-	"github.com/scaleway/scaleway-cli/v2/internal/human"
+	"github.com/scaleway/scaleway-cli/v2/core/human"
 	inference "github.com/scaleway/scaleway-sdk-go/api/inference/v1beta1"
 	"github.com/scaleway/scaleway-sdk-go/scw"
 )
diff --git a/internal/namespaces/inference/v1beta1/custom_model.go b/internal/namespaces/inference/v1beta1/custom_model.go
index 706a55e4..abf7e424 100644
--- a/internal/namespaces/inference/v1beta1/custom_model.go
+++ b/internal/namespaces/inference/v1beta1/custom_model.go
@@ -1,7 +1,7 @@
 package inference
 
 import (
-	"github.com/scaleway/scaleway-cli/v2/internal/human"
+	"github.com/scaleway/scaleway-cli/v2/core/human"
 	inference "github.com/scaleway/scaleway-sdk-go/api/inference/v1beta1"
 )
 
diff --git a/internal/namespaces/inference/v1beta1/custom_node_type.go b/internal/namespaces/inference/v1beta1/custom_node_type.go
index 8b08e3b9..dbc1eb85 100644
--- a/internal/namespaces/inference/v1beta1/custom_node_type.go
+++ b/internal/namespaces/inference/v1beta1/custom_node_type.go
@@ -1,7 +1,7 @@
 package inference
 
 import (
-	"github.com/scaleway/scaleway-cli/v2/internal/human"
+	"github.com/scaleway/scaleway-cli/v2/core/human"
 	inference "github.com/scaleway/scaleway-sdk-go/api/inference/v1beta1"
 )
 
diff --git a/internal/namespaces/info/custom.go b/internal/namespaces/info/custom.go
index 9debac93..3bddfdb8 100644
--- a/internal/namespaces/info/custom.go
+++ b/internal/namespaces/info/custom.go
@@ -6,7 +6,7 @@ import (
 	"reflect"
 
 	"github.com/scaleway/scaleway-cli/v2/core"
-	"github.com/scaleway/scaleway-cli/v2/internal/human"
+	"github.com/scaleway/scaleway-cli/v2/core/human"
 	"github.com/scaleway/scaleway-sdk-go/scw"
 )
 
diff --git a/internal/namespaces/instance/v1/custom.go b/internal/namespaces/instance/v1/custom.go
index bbb8c1a6..7f11aae7 100644
--- a/internal/namespaces/instance/v1/custom.go
+++ b/internal/namespaces/instance/v1/custom.go
@@ -5,7 +5,7 @@ import (
 	"reflect"
 
 	"github.com/scaleway/scaleway-cli/v2/core"
-	"github.com/scaleway/scaleway-cli/v2/internal/human"
+	"github.com/scaleway/scaleway-cli/v2/core/human"
 	"github.com/scaleway/scaleway-sdk-go/api/instance/v1"
 )
 
diff --git a/internal/namespaces/instance/v1/custom_image.go b/internal/namespaces/instance/v1/custom_image.go
index b0c8eb12..571b9ee3 100644
--- a/internal/namespaces/instance/v1/custom_image.go
+++ b/internal/namespaces/instance/v1/custom_image.go
@@ -9,7 +9,7 @@ import (
 
 	"github.com/fatih/color"
 	"github.com/scaleway/scaleway-cli/v2/core"
-	"github.com/scaleway/scaleway-cli/v2/internal/human"
+	"github.com/scaleway/scaleway-cli/v2/core/human"
 	block "github.com/scaleway/scaleway-sdk-go/api/block/v1alpha1"
 	"github.com/scaleway/scaleway-sdk-go/api/instance/v1"
 	"github.com/scaleway/scaleway-sdk-go/scw"
diff --git a/internal/namespaces/instance/v1/custom_privatenics.go b/internal/namespaces/instance/v1/custom_privatenics.go
index d1e0238b..5050381a 100644
--- a/internal/namespaces/instance/v1/custom_privatenics.go
+++ b/internal/namespaces/instance/v1/custom_privatenics.go
@@ -6,7 +6,7 @@ import (
 
 	"github.com/fatih/color"
 	"github.com/scaleway/scaleway-cli/v2/core"
-	"github.com/scaleway/scaleway-cli/v2/internal/human"
+	"github.com/scaleway/scaleway-cli/v2/core/human"
 	"github.com/scaleway/scaleway-sdk-go/api/instance/v1"
 )
 
diff --git a/internal/namespaces/instance/v1/custom_security_group.go b/internal/namespaces/instance/v1/custom_security_group.go
index c0be1e6f..b318a45d 100644
--- a/internal/namespaces/instance/v1/custom_security_group.go
+++ b/internal/namespaces/instance/v1/custom_security_group.go
@@ -11,8 +11,8 @@ import (
 
 	"github.com/fatih/color"
 	"github.com/scaleway/scaleway-cli/v2/core"
+	"github.com/scaleway/scaleway-cli/v2/core/human"
 	"github.com/scaleway/scaleway-cli/v2/internal/editor"
-	"github.com/scaleway/scaleway-cli/v2/internal/human"
 	"github.com/scaleway/scaleway-cli/v2/internal/terminal"
 	"github.com/scaleway/scaleway-sdk-go/api/instance/v1"
 	"github.com/scaleway/scaleway-sdk-go/logger"
diff --git a/internal/namespaces/instance/v1/custom_server.go b/internal/namespaces/instance/v1/custom_server.go
index a2e4773f..7d3881ba 100644
--- a/internal/namespaces/instance/v1/custom_server.go
+++ b/internal/namespaces/instance/v1/custom_server.go
@@ -14,7 +14,7 @@ import (
 
 	"github.com/fatih/color"
 	"github.com/scaleway/scaleway-cli/v2/core"
-	"github.com/scaleway/scaleway-cli/v2/internal/human"
+	"github.com/scaleway/scaleway-cli/v2/core/human"
 	"github.com/scaleway/scaleway-cli/v2/internal/interactive"
 	block "github.com/scaleway/scaleway-sdk-go/api/block/v1alpha1"
 	"github.com/scaleway/scaleway-sdk-go/api/instance/v1"
diff --git a/internal/namespaces/instance/v1/custom_server_type.go b/internal/namespaces/instance/v1/custom_server_type.go
index ae4ed59e..0c49deb7 100644
--- a/internal/namespaces/instance/v1/custom_server_type.go
+++ b/internal/namespaces/instance/v1/custom_server_type.go
@@ -7,7 +7,7 @@ import (
 
 	"github.com/fatih/color"
 	"github.com/scaleway/scaleway-cli/v2/core"
-	"github.com/scaleway/scaleway-cli/v2/internal/human"
+	"github.com/scaleway/scaleway-cli/v2/core/human"
 	"github.com/scaleway/scaleway-sdk-go/api/instance/v1"
 	"github.com/scaleway/scaleway-sdk-go/scw"
 )
diff --git a/internal/namespaces/instance/v1/custom_ssh_key.go b/internal/namespaces/instance/v1/custom_ssh_key.go
index 45f9b817..48503281 100644
--- a/internal/namespaces/instance/v1/custom_ssh_key.go
+++ b/internal/namespaces/instance/v1/custom_ssh_key.go
@@ -11,7 +11,7 @@ import (
 	"strings"
 
 	"github.com/scaleway/scaleway-cli/v2/core"
-	"github.com/scaleway/scaleway-cli/v2/internal/human"
+	"github.com/scaleway/scaleway-cli/v2/core/human"
 	"github.com/scaleway/scaleway-sdk-go/api/instance/v1"
 	"github.com/scaleway/scaleway-sdk-go/scw"
 )
diff --git a/internal/namespaces/instance/v1/custom_volume.go b/internal/namespaces/instance/v1/custom_volume.go
index aff47bd7..baadcbe1 100644
--- a/internal/namespaces/instance/v1/custom_volume.go
+++ b/internal/namespaces/instance/v1/custom_volume.go
@@ -8,7 +8,7 @@ import (
 
 	"github.com/fatih/color"
 	"github.com/scaleway/scaleway-cli/v2/core"
-	"github.com/scaleway/scaleway-cli/v2/internal/human"
+	"github.com/scaleway/scaleway-cli/v2/core/human"
 	"github.com/scaleway/scaleway-sdk-go/api/instance/v1"
 	"github.com/scaleway/scaleway-sdk-go/scw"
 )
diff --git a/internal/namespaces/iot/v1/custom.go b/internal/namespaces/iot/v1/custom.go
index b7427777..19ec403d 100644
--- a/internal/namespaces/iot/v1/custom.go
+++ b/internal/namespaces/iot/v1/custom.go
@@ -2,7 +2,7 @@ package iot
 
 import (
 	"github.com/scaleway/scaleway-cli/v2/core"
-	"github.com/scaleway/scaleway-cli/v2/internal/human"
+	"github.com/scaleway/scaleway-cli/v2/core/human"
 	"github.com/scaleway/scaleway-sdk-go/api/iot/v1"
 )
 
diff --git a/internal/namespaces/iot/v1/custom_device.go b/internal/namespaces/iot/v1/custom_device.go
index 4a8b8298..9f25f23d 100644
--- a/internal/namespaces/iot/v1/custom_device.go
+++ b/internal/namespaces/iot/v1/custom_device.go
@@ -4,7 +4,7 @@ import (
 	"strings"
 
 	"github.com/fatih/color"
-	"github.com/scaleway/scaleway-cli/v2/internal/human"
+	"github.com/scaleway/scaleway-cli/v2/core/human"
 	"github.com/scaleway/scaleway-cli/v2/internal/terminal"
 	"github.com/scaleway/scaleway-sdk-go/api/iot/v1"
 )
diff --git a/internal/namespaces/iot/v1/custom_hub.go b/internal/namespaces/iot/v1/custom_hub.go
index b966ceea..868b721b 100644
--- a/internal/namespaces/iot/v1/custom_hub.go
+++ b/internal/namespaces/iot/v1/custom_hub.go
@@ -6,7 +6,7 @@ import (
 
 	"github.com/fatih/color"
 	"github.com/scaleway/scaleway-cli/v2/core"
-	"github.com/scaleway/scaleway-cli/v2/internal/human"
+	"github.com/scaleway/scaleway-cli/v2/core/human"
 	"github.com/scaleway/scaleway-sdk-go/api/iot/v1"
 	"github.com/scaleway/scaleway-sdk-go/scw"
 )
diff --git a/internal/namespaces/iot/v1/custom_network.go b/internal/namespaces/iot/v1/custom_network.go
index ef6238b7..f3d0b0dd 100644
--- a/internal/namespaces/iot/v1/custom_network.go
+++ b/internal/namespaces/iot/v1/custom_network.go
@@ -4,7 +4,7 @@ import (
 	"strings"
 
 	"github.com/fatih/color"
-	"github.com/scaleway/scaleway-cli/v2/internal/human"
+	"github.com/scaleway/scaleway-cli/v2/core/human"
 	"github.com/scaleway/scaleway-cli/v2/internal/terminal"
 	"github.com/scaleway/scaleway-sdk-go/api/iot/v1"
 )
diff --git a/internal/namespaces/jobs/v1alpha1/custom.go b/internal/namespaces/jobs/v1alpha1/custom.go
index 35bc49ac..a3e81b9e 100644
--- a/internal/namespaces/jobs/v1alpha1/custom.go
+++ b/internal/namespaces/jobs/v1alpha1/custom.go
@@ -3,7 +3,7 @@ package jobs
 import (
 	"github.com/fatih/color"
 	"github.com/scaleway/scaleway-cli/v2/core"
-	"github.com/scaleway/scaleway-cli/v2/internal/human"
+	"github.com/scaleway/scaleway-cli/v2/core/human"
 	jobs "github.com/scaleway/scaleway-sdk-go/api/jobs/v1alpha1"
 )
 
diff --git a/internal/namespaces/k8s/v1/custom.go b/internal/namespaces/k8s/v1/custom.go
index c6f5b1ce..0d1dc6fa 100644
--- a/internal/namespaces/k8s/v1/custom.go
+++ b/internal/namespaces/k8s/v1/custom.go
@@ -2,7 +2,7 @@ package k8s
 
 import (
 	"github.com/scaleway/scaleway-cli/v2/core"
-	"github.com/scaleway/scaleway-cli/v2/internal/human"
+	"github.com/scaleway/scaleway-cli/v2/core/human"
 	k8s "github.com/scaleway/scaleway-sdk-go/api/k8s/v1"
 )
 
diff --git a/internal/namespaces/k8s/v1/custom_cluster.go b/internal/namespaces/k8s/v1/custom_cluster.go
index 8d45261d..440f0ad7 100644
--- a/internal/namespaces/k8s/v1/custom_cluster.go
+++ b/internal/namespaces/k8s/v1/custom_cluster.go
@@ -11,7 +11,7 @@ import (
 
 	"github.com/fatih/color"
 	"github.com/scaleway/scaleway-cli/v2/core"
-	"github.com/scaleway/scaleway-cli/v2/internal/human"
+	"github.com/scaleway/scaleway-cli/v2/core/human"
 	k8s "github.com/scaleway/scaleway-sdk-go/api/k8s/v1"
 	"github.com/scaleway/scaleway-sdk-go/api/vpc/v2"
 	"github.com/scaleway/scaleway-sdk-go/scw"
diff --git a/internal/namespaces/k8s/v1/custom_node.go b/internal/namespaces/k8s/v1/custom_node.go
index 192021b7..4fe52a39 100644
--- a/internal/namespaces/k8s/v1/custom_node.go
+++ b/internal/namespaces/k8s/v1/custom_node.go
@@ -7,7 +7,7 @@ import (
 
 	"github.com/fatih/color"
 	"github.com/scaleway/scaleway-cli/v2/core"
-	"github.com/scaleway/scaleway-cli/v2/internal/human"
+	"github.com/scaleway/scaleway-cli/v2/core/human"
 	k8s "github.com/scaleway/scaleway-sdk-go/api/k8s/v1"
 	"github.com/scaleway/scaleway-sdk-go/scw"
 )
diff --git a/internal/namespaces/k8s/v1/custom_pool.go b/internal/namespaces/k8s/v1/custom_pool.go
index 5289063a..45aad5de 100644
--- a/internal/namespaces/k8s/v1/custom_pool.go
+++ b/internal/namespaces/k8s/v1/custom_pool.go
@@ -10,7 +10,7 @@ import (
 
 	"github.com/fatih/color"
 	"github.com/scaleway/scaleway-cli/v2/core"
-	"github.com/scaleway/scaleway-cli/v2/internal/human"
+	"github.com/scaleway/scaleway-cli/v2/core/human"
 	k8s "github.com/scaleway/scaleway-sdk-go/api/k8s/v1"
 	"github.com/scaleway/scaleway-sdk-go/scw"
 )
diff --git a/internal/namespaces/k8s/v1/custom_version.go b/internal/namespaces/k8s/v1/custom_version.go
index 4c479ff5..62ead9b8 100644
--- a/internal/namespaces/k8s/v1/custom_version.go
+++ b/internal/namespaces/k8s/v1/custom_version.go
@@ -6,7 +6,7 @@ import (
 
 	"github.com/hashicorp/go-version"
 	"github.com/scaleway/scaleway-cli/v2/core"
-	"github.com/scaleway/scaleway-cli/v2/internal/human"
+	"github.com/scaleway/scaleway-cli/v2/core/human"
 	k8s "github.com/scaleway/scaleway-sdk-go/api/k8s/v1"
 	"github.com/scaleway/scaleway-sdk-go/scw"
 )
diff --git a/internal/namespaces/lb/v1/custom.go b/internal/namespaces/lb/v1/custom.go
index 06bd53cc..daf7d066 100644
--- a/internal/namespaces/lb/v1/custom.go
+++ b/internal/namespaces/lb/v1/custom.go
@@ -3,7 +3,7 @@ package lb
 import (
 	"github.com/fatih/color"
 	"github.com/scaleway/scaleway-cli/v2/core"
-	"github.com/scaleway/scaleway-cli/v2/internal/human"
+	"github.com/scaleway/scaleway-cli/v2/core/human"
 	"github.com/scaleway/scaleway-cli/v2/internal/terminal"
 	"github.com/scaleway/scaleway-sdk-go/api/lb/v1"
 )
diff --git a/internal/namespaces/lb/v1/custom_acl.go b/internal/namespaces/lb/v1/custom_acl.go
index a0ebe1c6..b610e766 100644
--- a/internal/namespaces/lb/v1/custom_acl.go
+++ b/internal/namespaces/lb/v1/custom_acl.go
@@ -5,7 +5,7 @@ import (
 
 	"github.com/fatih/color"
 	"github.com/scaleway/scaleway-cli/v2/core"
-	"github.com/scaleway/scaleway-cli/v2/internal/human"
+	"github.com/scaleway/scaleway-cli/v2/core/human"
 	"github.com/scaleway/scaleway-sdk-go/api/lb/v1"
 )
 
diff --git a/internal/namespaces/lb/v1/custom_backend.go b/internal/namespaces/lb/v1/custom_backend.go
index d51b1712..075b7c25 100644
--- a/internal/namespaces/lb/v1/custom_backend.go
+++ b/internal/namespaces/lb/v1/custom_backend.go
@@ -9,7 +9,7 @@ import (
 
 	"github.com/fatih/color"
 	"github.com/scaleway/scaleway-cli/v2/core"
-	"github.com/scaleway/scaleway-cli/v2/internal/human"
+	"github.com/scaleway/scaleway-cli/v2/core/human"
 	"github.com/scaleway/scaleway-sdk-go/api/baremetal/v1"
 	"github.com/scaleway/scaleway-sdk-go/api/instance/v1"
 	"github.com/scaleway/scaleway-sdk-go/api/lb/v1"
diff --git a/internal/namespaces/lb/v1/custom_certificate.go b/internal/namespaces/lb/v1/custom_certificate.go
index 6a8cffaf..dc436b6a 100644
--- a/internal/namespaces/lb/v1/custom_certificate.go
+++ b/internal/namespaces/lb/v1/custom_certificate.go
@@ -8,7 +8,7 @@ import (
 
 	"github.com/fatih/color"
 	"github.com/scaleway/scaleway-cli/v2/core"
-	"github.com/scaleway/scaleway-cli/v2/internal/human"
+	"github.com/scaleway/scaleway-cli/v2/core/human"
 	"github.com/scaleway/scaleway-sdk-go/api/lb/v1"
 	"github.com/scaleway/scaleway-sdk-go/scw"
 )
diff --git a/internal/namespaces/lb/v1/custom_frontend.go b/internal/namespaces/lb/v1/custom_frontend.go
index 610c7412..df9203a6 100644
--- a/internal/namespaces/lb/v1/custom_frontend.go
+++ b/internal/namespaces/lb/v1/custom_frontend.go
@@ -4,7 +4,7 @@ import (
 	"context"
 
 	"github.com/scaleway/scaleway-cli/v2/core"
-	"github.com/scaleway/scaleway-cli/v2/internal/human"
+	"github.com/scaleway/scaleway-cli/v2/core/human"
 	"github.com/scaleway/scaleway-sdk-go/api/lb/v1"
 )
 
diff --git a/internal/namespaces/lb/v1/custom_lb.go b/internal/namespaces/lb/v1/custom_lb.go
index 339fd15c..f5258aed 100644
--- a/internal/namespaces/lb/v1/custom_lb.go
+++ b/internal/namespaces/lb/v1/custom_lb.go
@@ -8,7 +8,7 @@ import (
 
 	"github.com/fatih/color"
 	"github.com/scaleway/scaleway-cli/v2/core"
-	"github.com/scaleway/scaleway-cli/v2/internal/human"
+	"github.com/scaleway/scaleway-cli/v2/core/human"
 	"github.com/scaleway/scaleway-sdk-go/api/lb/v1"
 	"github.com/scaleway/scaleway-sdk-go/scw"
 )
diff --git a/internal/namespaces/lb/v1/custom_lbtypes.go b/internal/namespaces/lb/v1/custom_lbtypes.go
index 6f135937..1c3375fe 100644
--- a/internal/namespaces/lb/v1/custom_lbtypes.go
+++ b/internal/namespaces/lb/v1/custom_lbtypes.go
@@ -2,7 +2,7 @@ package lb
 
 import (
 	"github.com/fatih/color"
-	"github.com/scaleway/scaleway-cli/v2/internal/human"
+	"github.com/scaleway/scaleway-cli/v2/core/human"
 	"github.com/scaleway/scaleway-sdk-go/api/lb/v1"
 )
 
diff --git a/internal/namespaces/lb/v1/custom_private_network.go b/internal/namespaces/lb/v1/custom_private_network.go
index 66ca6b80..febd74d8 100644
--- a/internal/namespaces/lb/v1/custom_private_network.go
+++ b/internal/namespaces/lb/v1/custom_private_network.go
@@ -4,7 +4,7 @@ import (
 	"errors"
 	"time"
 
-	"github.com/scaleway/scaleway-cli/v2/internal/human"
+	"github.com/scaleway/scaleway-cli/v2/core/human"
 	"github.com/scaleway/scaleway-sdk-go/api/lb/v1"
 )
 
diff --git a/internal/namespaces/marketplace/v2/custom_marshal.go b/internal/namespaces/marketplace/v2/custom_marshal.go
index 146b1797..ac69065a 100644
--- a/internal/namespaces/marketplace/v2/custom_marshal.go
+++ b/internal/namespaces/marketplace/v2/custom_marshal.go
@@ -4,7 +4,7 @@ import (
 	"time"
 
 	"github.com/fatih/color"
-	"github.com/scaleway/scaleway-cli/v2/internal/human"
+	"github.com/scaleway/scaleway-cli/v2/core/human"
 	"github.com/scaleway/scaleway-cli/v2/internal/terminal"
 	"github.com/scaleway/scaleway-sdk-go/api/marketplace/v2"
 )
diff --git a/internal/namespaces/mnq/v1beta1/custom.go b/internal/namespaces/mnq/v1beta1/custom.go
index 9e94eea1..13a0d4eb 100644
--- a/internal/namespaces/mnq/v1beta1/custom.go
+++ b/internal/namespaces/mnq/v1beta1/custom.go
@@ -2,7 +2,7 @@ package mnq
 
 import (
 	"github.com/scaleway/scaleway-cli/v2/core"
-	"github.com/scaleway/scaleway-cli/v2/internal/human"
+	"github.com/scaleway/scaleway-cli/v2/core/human"
 	mnq "github.com/scaleway/scaleway-sdk-go/api/mnq/v1beta1"
 )
 
diff --git a/internal/namespaces/mnq/v1beta1/custom_sqs.go b/internal/namespaces/mnq/v1beta1/custom_sqs.go
index 2d86e4fb..5130ade6 100644
--- a/internal/namespaces/mnq/v1beta1/custom_sqs.go
+++ b/internal/namespaces/mnq/v1beta1/custom_sqs.go
@@ -6,7 +6,7 @@ import (
 
 	"github.com/fatih/color"
 	"github.com/scaleway/scaleway-cli/v2/core"
-	"github.com/scaleway/scaleway-cli/v2/internal/human"
+	"github.com/scaleway/scaleway-cli/v2/core/human"
 	mnq "github.com/scaleway/scaleway-sdk-go/api/mnq/v1beta1"
 )
 
diff --git a/internal/namespaces/mongodb/v1alpha1/custom.go b/internal/namespaces/mongodb/v1alpha1/custom.go
index 18d250ae..c90f0688 100644
--- a/internal/namespaces/mongodb/v1alpha1/custom.go
+++ b/internal/namespaces/mongodb/v1alpha1/custom.go
@@ -2,7 +2,7 @@ package mongodb
 
 import (
 	"github.com/scaleway/scaleway-cli/v2/core"
-	"github.com/scaleway/scaleway-cli/v2/internal/human"
+	"github.com/scaleway/scaleway-cli/v2/core/human"
 	mongodb "github.com/scaleway/scaleway-sdk-go/api/mongodb/v1alpha1"
 )
 
diff --git a/internal/namespaces/mongodb/v1alpha1/custom_instance.go b/internal/namespaces/mongodb/v1alpha1/custom_instance.go
index 2890f16f..68d2fead 100644
--- a/internal/namespaces/mongodb/v1alpha1/custom_instance.go
+++ b/internal/namespaces/mongodb/v1alpha1/custom_instance.go
@@ -2,7 +2,7 @@ package mongodb
 
 import (
 	"github.com/fatih/color"
-	"github.com/scaleway/scaleway-cli/v2/internal/human"
+	"github.com/scaleway/scaleway-cli/v2/core/human"
 	mongodb "github.com/scaleway/scaleway-sdk-go/api/mongodb/v1alpha1"
 )
 
diff --git a/internal/namespaces/mongodb/v1alpha1/custom_nodetype.go b/internal/namespaces/mongodb/v1alpha1/custom_nodetype.go
index 356d26a5..5a2b8513 100644
--- a/internal/namespaces/mongodb/v1alpha1/custom_nodetype.go
+++ b/internal/namespaces/mongodb/v1alpha1/custom_nodetype.go
@@ -2,7 +2,7 @@ package mongodb
 
 import (
 	"github.com/fatih/color"
-	"github.com/scaleway/scaleway-cli/v2/internal/human"
+	"github.com/scaleway/scaleway-cli/v2/core/human"
 	mongodb "github.com/scaleway/scaleway-sdk-go/api/mongodb/v1alpha1"
 )
 
diff --git a/internal/namespaces/mongodb/v1alpha1/custom_snapshot.go b/internal/namespaces/mongodb/v1alpha1/custom_snapshot.go
index 9d6f81ca..560607dd 100644
--- a/internal/namespaces/mongodb/v1alpha1/custom_snapshot.go
+++ b/internal/namespaces/mongodb/v1alpha1/custom_snapshot.go
@@ -2,7 +2,7 @@ package mongodb
 
 import (
 	"github.com/fatih/color"
-	"github.com/scaleway/scaleway-cli/v2/internal/human"
+	"github.com/scaleway/scaleway-cli/v2/core/human"
 	mongodb "github.com/scaleway/scaleway-sdk-go/api/mongodb/v1alpha1"
 )
 
diff --git a/internal/namespaces/object/v1/custom.go b/internal/namespaces/object/v1/custom.go
index b3f19b1e..5e1d96e2 100644
--- a/internal/namespaces/object/v1/custom.go
+++ b/internal/namespaces/object/v1/custom.go
@@ -3,7 +3,7 @@ package object
 import (
 	"github.com/aws/aws-sdk-go-v2/service/s3"
 	"github.com/scaleway/scaleway-cli/v2/core"
-	"github.com/scaleway/scaleway-cli/v2/internal/human"
+	"github.com/scaleway/scaleway-cli/v2/core/human"
 )
 
 func GetCommands() *core.Commands {
diff --git a/internal/namespaces/object/v1/custom_marshaler.go b/internal/namespaces/object/v1/custom_marshaler.go
index 579fd198..1e7bde6a 100644
--- a/internal/namespaces/object/v1/custom_marshaler.go
+++ b/internal/namespaces/object/v1/custom_marshaler.go
@@ -5,7 +5,7 @@ import (
 
 	"github.com/aws/aws-sdk-go-v2/service/s3/types"
 	"github.com/scaleway/scaleway-cli/v2/core"
-	"github.com/scaleway/scaleway-cli/v2/internal/human"
+	"github.com/scaleway/scaleway-cli/v2/core/human"
 	"github.com/scaleway/scaleway-sdk-go/scw"
 )
 
diff --git a/internal/namespaces/rdb/v1/custom.go b/internal/namespaces/rdb/v1/custom.go
index 39cd8908..4aa9047f 100644
--- a/internal/namespaces/rdb/v1/custom.go
+++ b/internal/namespaces/rdb/v1/custom.go
@@ -2,7 +2,7 @@ package rdb
 
 import (
 	"github.com/scaleway/scaleway-cli/v2/core"
-	"github.com/scaleway/scaleway-cli/v2/internal/human"
+	"github.com/scaleway/scaleway-cli/v2/core/human"
 	"github.com/scaleway/scaleway-sdk-go/api/rdb/v1"
 )
 
diff --git a/internal/namespaces/rdb/v1/custom_acl.go b/internal/namespaces/rdb/v1/custom_acl.go
index ea71e1c9..bca89a25 100644
--- a/internal/namespaces/rdb/v1/custom_acl.go
+++ b/internal/namespaces/rdb/v1/custom_acl.go
@@ -7,8 +7,8 @@ import (
 
 	"github.com/fatih/color"
 	"github.com/scaleway/scaleway-cli/v2/core"
+	"github.com/scaleway/scaleway-cli/v2/core/human"
 	"github.com/scaleway/scaleway-cli/v2/internal/editor"
-	"github.com/scaleway/scaleway-cli/v2/internal/human"
 	"github.com/scaleway/scaleway-sdk-go/api/rdb/v1"
 	"github.com/scaleway/scaleway-sdk-go/scw"
 )
diff --git a/internal/namespaces/rdb/v1/custom_backup.go b/internal/namespaces/rdb/v1/custom_backup.go
index 58930658..d2617448 100644
--- a/internal/namespaces/rdb/v1/custom_backup.go
+++ b/internal/namespaces/rdb/v1/custom_backup.go
@@ -14,7 +14,7 @@ import (
 
 	"github.com/fatih/color"
 	"github.com/scaleway/scaleway-cli/v2/core"
-	"github.com/scaleway/scaleway-cli/v2/internal/human"
+	"github.com/scaleway/scaleway-cli/v2/core/human"
 	"github.com/scaleway/scaleway-cli/v2/internal/interactive"
 	"github.com/scaleway/scaleway-sdk-go/api/rdb/v1"
 	"github.com/scaleway/scaleway-sdk-go/scw"
diff --git a/internal/namespaces/rdb/v1/custom_endpoint.go b/internal/namespaces/rdb/v1/custom_endpoint.go
index f9b4504a..ad332013 100644
--- a/internal/namespaces/rdb/v1/custom_endpoint.go
+++ b/internal/namespaces/rdb/v1/custom_endpoint.go
@@ -7,7 +7,7 @@ import (
 	"reflect"
 
 	"github.com/scaleway/scaleway-cli/v2/core"
-	"github.com/scaleway/scaleway-cli/v2/internal/human"
+	"github.com/scaleway/scaleway-cli/v2/core/human"
 	"github.com/scaleway/scaleway-sdk-go/api/rdb/v1"
 	"github.com/scaleway/scaleway-sdk-go/scw"
 )
diff --git a/internal/namespaces/rdb/v1/custom_instance.go b/internal/namespaces/rdb/v1/custom_instance.go
index c647334c..e49fcbc8 100644
--- a/internal/namespaces/rdb/v1/custom_instance.go
+++ b/internal/namespaces/rdb/v1/custom_instance.go
@@ -16,7 +16,7 @@ import (
 
 	"github.com/fatih/color"
 	"github.com/scaleway/scaleway-cli/v2/core"
-	"github.com/scaleway/scaleway-cli/v2/internal/human"
+	"github.com/scaleway/scaleway-cli/v2/core/human"
 	"github.com/scaleway/scaleway-cli/v2/internal/interactive"
 	"github.com/scaleway/scaleway-cli/v2/internal/passwordgenerator"
 	"github.com/scaleway/scaleway-cli/v2/internal/terminal"
diff --git a/internal/namespaces/rdb/v1/custom_log.go b/internal/namespaces/rdb/v1/custom_log.go
index 2fe3fc57..66229cb4 100644
--- a/internal/namespaces/rdb/v1/custom_log.go
+++ b/internal/namespaces/rdb/v1/custom_log.go
@@ -5,7 +5,7 @@ import (
 
 	"github.com/fatih/color"
 	"github.com/scaleway/scaleway-cli/v2/core"
-	"github.com/scaleway/scaleway-cli/v2/internal/human"
+	"github.com/scaleway/scaleway-cli/v2/core/human"
 	"github.com/scaleway/scaleway-sdk-go/api/rdb/v1"
 	"github.com/scaleway/scaleway-sdk-go/scw"
 )
diff --git a/internal/namespaces/rdb/v1/custom_node_type.go b/internal/namespaces/rdb/v1/custom_node_type.go
index 4db81ae6..d3912bff 100644
--- a/internal/namespaces/rdb/v1/custom_node_type.go
+++ b/internal/namespaces/rdb/v1/custom_node_type.go
@@ -2,7 +2,7 @@ package rdb
 
 import (
 	"github.com/fatih/color"
-	"github.com/scaleway/scaleway-cli/v2/internal/human"
+	"github.com/scaleway/scaleway-cli/v2/core/human"
 	"github.com/scaleway/scaleway-sdk-go/api/rdb/v1"
 )
 
diff --git a/internal/namespaces/redis/v1/custom.go b/internal/namespaces/redis/v1/custom.go
index 1e5cdee1..87f4f239 100644
--- a/internal/namespaces/redis/v1/custom.go
+++ b/internal/namespaces/redis/v1/custom.go
@@ -2,7 +2,7 @@ package redis
 
 import (
 	"github.com/scaleway/scaleway-cli/v2/core"
-	"github.com/scaleway/scaleway-cli/v2/internal/human"
+	"github.com/scaleway/scaleway-cli/v2/core/human"
 	"github.com/scaleway/scaleway-sdk-go/api/redis/v1"
 )
 
diff --git a/internal/namespaces/redis/v1/custom_cluster.go b/internal/namespaces/redis/v1/custom_cluster.go
index b47b558f..6d28bce0 100644
--- a/internal/namespaces/redis/v1/custom_cluster.go
+++ b/internal/namespaces/redis/v1/custom_cluster.go
@@ -9,7 +9,7 @@ import (
 	"time"
 
 	"github.com/scaleway/scaleway-cli/v2/core"
-	"github.com/scaleway/scaleway-cli/v2/internal/human"
+	"github.com/scaleway/scaleway-cli/v2/core/human"
 	"github.com/scaleway/scaleway-sdk-go/api/redis/v1"
 	"github.com/scaleway/scaleway-sdk-go/scw"
 )
diff --git a/internal/namespaces/registry/v1/custom.go b/internal/namespaces/registry/v1/custom.go
index 263b32e8..adbf9bca 100644
--- a/internal/namespaces/registry/v1/custom.go
+++ b/internal/namespaces/registry/v1/custom.go
@@ -2,7 +2,7 @@ package registry
 
 import (
 	"github.com/scaleway/scaleway-cli/v2/core"
-	"github.com/scaleway/scaleway-cli/v2/internal/human"
+	"github.com/scaleway/scaleway-cli/v2/core/human"
 	"github.com/scaleway/scaleway-sdk-go/api/registry/v1"
 )
 
diff --git a/internal/namespaces/registry/v1/custom_image.go b/internal/namespaces/registry/v1/custom_image.go
index 183890b6..4f23ab7e 100644
--- a/internal/namespaces/registry/v1/custom_image.go
+++ b/internal/namespaces/registry/v1/custom_image.go
@@ -6,7 +6,7 @@ import (
 
 	"github.com/fatih/color"
 	"github.com/scaleway/scaleway-cli/v2/core"
-	"github.com/scaleway/scaleway-cli/v2/internal/human"
+	"github.com/scaleway/scaleway-cli/v2/core/human"
 	"github.com/scaleway/scaleway-sdk-go/api/registry/v1"
 	"github.com/scaleway/scaleway-sdk-go/scw"
 )
diff --git a/internal/namespaces/registry/v1/custom_namespace.go b/internal/namespaces/registry/v1/custom_namespace.go
index e35457c0..2fadf03a 100644
--- a/internal/namespaces/registry/v1/custom_namespace.go
+++ b/internal/namespaces/registry/v1/custom_namespace.go
@@ -2,7 +2,7 @@ package registry
 
 import (
 	"github.com/fatih/color"
-	"github.com/scaleway/scaleway-cli/v2/internal/human"
+	"github.com/scaleway/scaleway-cli/v2/core/human"
 	"github.com/scaleway/scaleway-sdk-go/api/registry/v1"
 )
 
diff --git a/internal/namespaces/registry/v1/custom_tag.go b/internal/namespaces/registry/v1/custom_tag.go
index 65e4d6ef..c165bf1f 100644
--- a/internal/namespaces/registry/v1/custom_tag.go
+++ b/internal/namespaces/registry/v1/custom_tag.go
@@ -6,7 +6,7 @@ import (
 
 	"github.com/fatih/color"
 	"github.com/scaleway/scaleway-cli/v2/core"
-	"github.com/scaleway/scaleway-cli/v2/internal/human"
+	"github.com/scaleway/scaleway-cli/v2/core/human"
 	"github.com/scaleway/scaleway-sdk-go/api/registry/v1"
 	"github.com/scaleway/scaleway-sdk-go/logger"
 )
diff --git a/internal/namespaces/serverless_sqldb/v1alpha1/custom.go b/internal/namespaces/serverless_sqldb/v1alpha1/custom.go
index c0b4371f..59574c80 100644
--- a/internal/namespaces/serverless_sqldb/v1alpha1/custom.go
+++ b/internal/namespaces/serverless_sqldb/v1alpha1/custom.go
@@ -3,7 +3,7 @@ package serverless_sqldb
 import (
 	"github.com/fatih/color"
 	"github.com/scaleway/scaleway-cli/v2/core"
-	"github.com/scaleway/scaleway-cli/v2/internal/human"
+	"github.com/scaleway/scaleway-cli/v2/core/human"
 	serverless_sqldb "github.com/scaleway/scaleway-sdk-go/api/serverless_sqldb/v1alpha1"
 )
 
diff --git a/internal/namespaces/tem/v1alpha1/custom.go b/internal/namespaces/tem/v1alpha1/custom.go
index 4076437c..4d8be432 100644
--- a/internal/namespaces/tem/v1alpha1/custom.go
+++ b/internal/namespaces/tem/v1alpha1/custom.go
@@ -2,7 +2,7 @@ package tem
 
 import (
 	"github.com/scaleway/scaleway-cli/v2/core"
-	"github.com/scaleway/scaleway-cli/v2/internal/human"
+	"github.com/scaleway/scaleway-cli/v2/core/human"
 	tem "github.com/scaleway/scaleway-sdk-go/api/tem/v1alpha1"
 )
 
diff --git a/internal/namespaces/tem/v1alpha1/custom_domain.go b/internal/namespaces/tem/v1alpha1/custom_domain.go
index 2b262426..dc1b070d 100644
--- a/internal/namespaces/tem/v1alpha1/custom_domain.go
+++ b/internal/namespaces/tem/v1alpha1/custom_domain.go
@@ -3,7 +3,7 @@ package tem
 import (
 	"github.com/fatih/color"
 	"github.com/scaleway/scaleway-cli/v2/core"
-	"github.com/scaleway/scaleway-cli/v2/internal/human"
+	"github.com/scaleway/scaleway-cli/v2/core/human"
 	tem "github.com/scaleway/scaleway-sdk-go/api/tem/v1alpha1"
 )
 
diff --git a/internal/namespaces/tem/v1alpha1/custom_email.go b/internal/namespaces/tem/v1alpha1/custom_email.go
index 5c92d15d..90c4d98a 100644
--- a/internal/namespaces/tem/v1alpha1/custom_email.go
+++ b/internal/namespaces/tem/v1alpha1/custom_email.go
@@ -2,7 +2,7 @@ package tem
 
 import (
 	"github.com/fatih/color"
-	"github.com/scaleway/scaleway-cli/v2/internal/human"
+	"github.com/scaleway/scaleway-cli/v2/core/human"
 	tem "github.com/scaleway/scaleway-sdk-go/api/tem/v1alpha1"
 )
 
diff --git a/internal/namespaces/vpc/v2/custom.go b/internal/namespaces/vpc/v2/custom.go
index a2d39ba0..d6dc93ec 100644
--- a/internal/namespaces/vpc/v2/custom.go
+++ b/internal/namespaces/vpc/v2/custom.go
@@ -2,7 +2,7 @@ package vpc
 
 import (
 	"github.com/scaleway/scaleway-cli/v2/core"
-	"github.com/scaleway/scaleway-cli/v2/internal/human"
+	"github.com/scaleway/scaleway-cli/v2/core/human"
 	"github.com/scaleway/scaleway-sdk-go/api/vpc/v2"
 )
 
diff --git a/internal/namespaces/vpc/v2/custom_private_network.go b/internal/namespaces/vpc/v2/custom_private_network.go
index 57902662..5888e183 100644
--- a/internal/namespaces/vpc/v2/custom_private_network.go
+++ b/internal/namespaces/vpc/v2/custom_private_network.go
@@ -4,7 +4,7 @@ import (
 	"context"
 
 	"github.com/scaleway/scaleway-cli/v2/core"
-	"github.com/scaleway/scaleway-cli/v2/internal/human"
+	"github.com/scaleway/scaleway-cli/v2/core/human"
 	"github.com/scaleway/scaleway-sdk-go/api/baremetal/v1"
 	"github.com/scaleway/scaleway-sdk-go/api/instance/v1"
 	"github.com/scaleway/scaleway-sdk-go/api/k8s/v1"
diff --git a/internal/namespaces/vpcgw/v1/custom.go b/internal/namespaces/vpcgw/v1/custom.go
index 185a6f20..684b6fe7 100644
--- a/internal/namespaces/vpcgw/v1/custom.go
+++ b/internal/namespaces/vpcgw/v1/custom.go
@@ -2,7 +2,7 @@ package vpcgw
 
 import (
 	"github.com/scaleway/scaleway-cli/v2/core"
-	"github.com/scaleway/scaleway-cli/v2/internal/human"
+	"github.com/scaleway/scaleway-cli/v2/core/human"
 	"github.com/scaleway/scaleway-sdk-go/api/vpcgw/v1"
 )
 
diff --git a/internal/namespaces/vpcgw/v1/custom_gateway.go b/internal/namespaces/vpcgw/v1/custom_gateway.go
index d2d34513..126a1366 100644
--- a/internal/namespaces/vpcgw/v1/custom_gateway.go
+++ b/internal/namespaces/vpcgw/v1/custom_gateway.go
@@ -6,7 +6,7 @@ import (
 
 	"github.com/fatih/color"
 	"github.com/scaleway/scaleway-cli/v2/core"
-	"github.com/scaleway/scaleway-cli/v2/internal/human"
+	"github.com/scaleway/scaleway-cli/v2/core/human"
 	"github.com/scaleway/scaleway-sdk-go/api/vpcgw/v1"
 	"github.com/scaleway/scaleway-sdk-go/scw"
 )
diff --git a/internal/namespaces/vpcgw/v1/custom_gateway_network.go b/internal/namespaces/vpcgw/v1/custom_gateway_network.go
index e5cd19e3..0aaf2970 100644
--- a/internal/namespaces/vpcgw/v1/custom_gateway_network.go
+++ b/internal/namespaces/vpcgw/v1/custom_gateway_network.go
@@ -7,7 +7,7 @@ import (
 
 	"github.com/fatih/color"
 	"github.com/scaleway/scaleway-cli/v2/core"
-	"github.com/scaleway/scaleway-cli/v2/internal/human"
+	"github.com/scaleway/scaleway-cli/v2/core/human"
 	"github.com/scaleway/scaleway-sdk-go/api/vpcgw/v1"
 	"github.com/scaleway/scaleway-sdk-go/scw"
 )
diff --git a/internal/namespaces/webhosting/v1alpha1/custom.go b/internal/namespaces/webhosting/v1alpha1/custom.go
index 3e981ccc..a2b83997 100644
--- a/internal/namespaces/webhosting/v1alpha1/custom.go
+++ b/internal/namespaces/webhosting/v1alpha1/custom.go
@@ -2,7 +2,7 @@ package webhosting
 
 import (
 	"github.com/scaleway/scaleway-cli/v2/core"
-	"github.com/scaleway/scaleway-cli/v2/internal/human"
+	"github.com/scaleway/scaleway-cli/v2/core/human"
 	webhosting "github.com/scaleway/scaleway-sdk-go/api/webhosting/v1alpha1"
 )
 
diff --git a/internal/namespaces/webhosting/v1alpha1/custom_hosting.go b/internal/namespaces/webhosting/v1alpha1/custom_hosting.go
index 37013870..9a40afce 100644
--- a/internal/namespaces/webhosting/v1alpha1/custom_hosting.go
+++ b/internal/namespaces/webhosting/v1alpha1/custom_hosting.go
@@ -2,7 +2,7 @@ package webhosting
 
 import (
 	"github.com/fatih/color"
-	"github.com/scaleway/scaleway-cli/v2/internal/human"
+	"github.com/scaleway/scaleway-cli/v2/core/human"
 	webhosting "github.com/scaleway/scaleway-sdk-go/api/webhosting/v1alpha1"
 )
 


Test patch:
diff --git a/cmd/scw-wasm-tester/human.go b/cmd/scw-wasm-tester/human.go
index bca8f86b..174a230f 100644
--- a/cmd/scw-wasm-tester/human.go
+++ b/cmd/scw-wasm-tester/human.go
@@ -7,7 +7,7 @@ import (
 
 	"github.com/hashicorp/go-version"
 	"github.com/scaleway/scaleway-cli/v2/core"
-	"github.com/scaleway/scaleway-cli/v2/internal/human"
+	"github.com/scaleway/scaleway-cli/v2/core/human"
 )
 
 func wasmTestMarshalBuildInfo(_ js.Value, _ []js.Value) any {
diff --git a/cmd/scw/testdata/test-all-usage-iam-user-update-username-usage.golden b/cmd/scw/testdata/test-all-usage-iam-user-update-username-usage.golden
new file mode 100644
index 00000000..9b017853
--- /dev/null
+++ b/cmd/scw/testdata/test-all-usage-iam-user-update-username-usage.golden
@@ -0,0 +1,19 @@
+🎲🎲🎲 EXIT CODE: 0 🎲🎲🎲
+🟥🟥🟥 STDERR️️ 🟥🟥🟥️
+Update an user's username. Private Beta feature.
+
+USAGE:
+  scw iam user update-username <user-id ...> [arg=value ...]
+
+ARGS:
+  user-id    ID of the user to update
+  username   The new username
+
+FLAGS:
+  -h, --help   help for update-username
+
+GLOBAL FLAGS:
+  -c, --config string    The path to the config file
+  -D, --debug            Enable debug mode
+  -o, --output string    Output format: json or human, see 'scw help output' for more info (default "human")
+  -p, --profile string   The config profile to use
diff --git a/cmd/scw/testdata/test-all-usage-iam-user-usage.golden b/cmd/scw/testdata/test-all-usage-iam-user-usage.golden
index 3519fb5d..ccd5b251 100644
--- a/cmd/scw/testdata/test-all-usage-iam-user-usage.golden
+++ b/cmd/scw/testdata/test-all-usage-iam-user-usage.golden
@@ -12,6 +12,7 @@ AVAILABLE COMMANDS:
   list            List users of an Organization
   update          Update a user
   update-password Update an user's password. Private Beta feature.
+  update-username Update an user's username. Private Beta feature.
 
 FLAGS:
   -h, --help   help for user
diff --git a/internal/human/error.go b/core/human/error.go
similarity index 100%
rename from internal/human/error.go
rename to core/human/error.go
diff --git a/internal/human/marshal.go b/core/human/marshal.go
similarity index 100%
rename from internal/human/marshal.go
rename to core/human/marshal.go
diff --git a/internal/human/marshal_func.go b/core/human/marshal_func.go
similarity index 100%
rename from internal/human/marshal_func.go
rename to core/human/marshal_func.go
diff --git a/internal/human/marshal_test.go b/core/human/marshal_test.go
similarity index 99%
rename from internal/human/marshal_test.go
rename to core/human/marshal_test.go
index 96c2cecd..097c385a 100644
--- a/internal/human/marshal_test.go
+++ b/core/human/marshal_test.go
@@ -8,7 +8,7 @@ import (
 
 	"github.com/alecthomas/assert"
 	"github.com/dustin/go-humanize"
-	"github.com/scaleway/scaleway-cli/v2/internal/human"
+	"github.com/scaleway/scaleway-cli/v2/core/human"
 	"github.com/scaleway/scaleway-sdk-go/scw"
 )
 
diff --git a/core/testing.go b/core/testing.go
index b2481222..048544d7 100644
--- a/core/testing.go
+++ b/core/testing.go
@@ -19,8 +19,8 @@ import (
 	"time"
 
 	"github.com/hashicorp/go-version"
+	"github.com/scaleway/scaleway-cli/v2/core/human"
 	args "github.com/scaleway/scaleway-cli/v2/internal/args"
-	"github.com/scaleway/scaleway-cli/v2/internal/human"
 	"github.com/scaleway/scaleway-cli/v2/internal/interactive"
 	"github.com/scaleway/scaleway-cli/v2/internal/platform/terminal"
 	"github.com/scaleway/scaleway-sdk-go/api/test/v1"
diff --git a/internal/namespaces/alias/alias_test.go b/internal/namespaces/alias/alias_test.go
index 2d079314..625f4125 100644
--- a/internal/namespaces/alias/alias_test.go
+++ b/internal/namespaces/alias/alias_test.go
@@ -8,7 +8,7 @@ import (
 	"github.com/alecthomas/assert"
 	"github.com/scaleway/scaleway-cli/v2/commands"
 	"github.com/scaleway/scaleway-cli/v2/core"
-	"github.com/scaleway/scaleway-cli/v2/internal/human"
+	"github.com/scaleway/scaleway-cli/v2/core/human"
 )
 
 func Test_Alias(t *testing.T) {