cli
cli copied to clipboard
Human friendly name for Store creation via cli
When creating a store via CLI, if a name is provided, then the CLI should create a a unique human friendly name automatically.
Just to clarify @indcoder, you mean if a name is not provided, right?
Yup, this issue cropped up in yesterdays OpenFGA community call. During the demo noticed that if no name was provided to the CLI create store command, it created an alpha numeric id.
The change I propose is identical to the behaviour of Docker CLI where if you dont provide a name to the container while creating it, it will assign a unique human readable friendly name.
On Sat, Jun 10, 2023 at 12:01 AM Maria Ines Parnisari < @.***> wrote:
Just to clarify @indcoder https://github.com/indcoder, you mean if a name is not provided, right?
— Reply to this email directly, view it on GitHub https://github.com/openfga/cli/issues/115, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAQAQZG2FSBHX2NX52TBDO3XKNTXRANCNFSM6AAAAAAY7OUCYM . You are receiving this because you were mentioned.Message ID: @.***>
Ah! So this suggestion only applies to the CLI. Gotcha. I was confused because the Create Store API requires the name :)
Exactly! CLI is mentioned in the title of the issue.
Sent from mobile
On Sat, 10 Jun, 2023, 01:00 Maria Ines Parnisari, @.***> wrote:
Ah! So this suggestion only applies to the CLI. Gotcha. I was confused because the Create Store API requires the name :)
— Reply to this email directly, view it on GitHub https://github.com/openfga/cli/issues/115, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAQAQZHRCDKJMOAHUUB7QRLXKN2WLANCNFSM6AAAAAAY7OUCYM . You are receiving this because you were mentioned.Message ID: @.***>