Skip to content

Create connect function #1252

@siadatism

Description

@siadatism

I used Autorest to create a Powershell CLI for my Rest API using its swagger. I want to have a connect function to get the server address (host) and save it for later commands like an open session. It's nice to check the server availability in the connect function as well.

Is there anything like this in the generated CLI? If not, how can I add this functionality to it? Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionThe issue doesn't require a change to the product in order to be resolved. Most issues start as that

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions