3scale-archive / 3scale-cli

DEPRECATED Beta of 3scale CLI, manage your 3scale installation directly from terminal (community supported)
https://www.3scale.net
MIT License
9 stars 21 forks source link

service name as parameter #55

Closed lucamaf closed 6 years ago

lucamaf commented 6 years ago

being able to define the service name upon creation from swagger definition instead of using a random name

picsoung commented 6 years ago

you can already provide a service name as explained here: https://github.com/3scale/3scale-cli/blob/master/docs/services.md

3scale-cli services create --serviceName <service_name>

otherwise, we use the name found in the swagger definition and add a random part to make sure that it does not collide with an existing service.

lucamaf commented 6 years ago

but there is no way of doing that directly in the import command correct?

picsoung commented 6 years ago

so far no.

Flow should be:

  1. create a new service, get its ID
  2. import spec into newly created service