Manage Versions
To add a version you can use this command :
grizzly add version [-- <args>]
Arguments :
–microservice : to specify the name of the microservice
– name : to specify the name of the version (Example 1.0.0)
– description : to describe your version (optional)
Example :
grizzly add version --microservice Products --name 1.0.1
To add a version you can use this command :
grizzly update version [-- <args>]
Arguments :
–microservice : to specify the name of the microservice which contains the version to edit
– name : to specify the new name of the version
– description : to specify the new description of the version
Example :
In this example , we update the version 1.0.1 to 1.0.2 :
grizzly update version --microservice Products --name 1.0.1 --newname 1.0.2
To delete a version you can use this command :
grizzly delete version [-- <args>]
Arguments :
–microservice : to specify the name of the microservice which contains the version to delete
– name : to specify the name of the version to delete
Example :
grizzly delete version --microservice Products --name 1.0.1
To export a specified version in swagger format ( open api ) you can use this command :
grizzly export version [-- <args>]
Arguments :
–microservice : to specify the name of the microservice which contains the version to export
– name : to specify the name of the version to export
Example :
grizzly export version --microservice Products --name 1.0.1