glab icon indicating copy to clipboard operation
glab copied to clipboard

Interactive mode for `repo/project create`

Open profclems opened this issue 5 years ago • 11 comments

Describe the feature or problem you'd like to solve

Currently, running glab repo create does not provide any interactive mode to confirm repository details in TTYs. If the user does not specify the name, glab uses the name of the current working directory to create the repo on GitLab.

However, there might be cases where the user might want to change the name

Propose a Solution

There must be some prompts to confirm the name, description, and visibility

$ glab repo create
? Project name: my_project
? Project description: <received>
? Visibility: Public

Additional context

This should come with a -y | --yes option to force skip the prompts

profclems avatar Jan 14 '21 10:01 profclems

Makes a lot of sense my previous GitLab CLI tool agl did it interactively by default.

maxice8 avatar Jan 14 '21 18:01 maxice8

@maxice8 This is open in case you'd like to work on it

profclems avatar Jan 15 '21 10:01 profclems

Unable at the moment, Alpine 3.13.0 was just released so I'm implement huge projects for 3.14.0

maxice8 avatar Jan 15 '21 10:01 maxice8

No problem, I will open a PR on this soon

...Alpine 3.13.0 was just released...

Oops... I guess I missed the news. Thanks!

This calls for an update on the alpine installation guide in our readme

profclems avatar Jan 15 '21 10:01 profclems

...Alpine 3.13.0 was just released...

This calls for an update on the alpine installation guide in our readme

/cc @solidnerd

profclems avatar Jan 15 '21 11:01 profclems

Oh 😮 will look into this later.

solidnerd avatar Jan 15 '21 11:01 solidnerd

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.

clemsbot avatar Mar 10 '21 02:03 clemsbot

Any progress on this feature ? It is important to have -y or --yes or --force to by pass prompt if all required parameters are provided. Is critical for non-interactive prompt in a CICD pipeline because everything should be automated.

josephlim75 avatar Jan 15 '22 20:01 josephlim75

This issue has been automatically marked as stale because it has not had recent activity. We haven't had the time to address it yet, but we want to keep it open. This message is just a reminder for us to help triage issues.

clemsbot avatar Feb 16 '22 02:02 clemsbot

Any progress on this feature ?

jsnopek avatar Mar 24 '22 15:03 jsnopek

This issue has been automatically marked as stale because it has not had recent activity. We haven't had the time to address it yet, but we want to keep it open. This message is just a reminder for us to help triage issues.

clemsbot avatar Apr 24 '22 02:04 clemsbot