Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add CLI for xOpera API #1

Open
anzoman opened this issue Jan 7, 2022 · 0 comments
Open

Add CLI for xOpera API #1

anzoman opened this issue Jan 7, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@anzoman
Copy link
Contributor

anzoman commented Jan 7, 2022

Description

xOpera API is currently started with python3 -m opera.api.cli command which is not so practical.

We could create a CLI for xOpera API that would help users to get started easier:

The CLI commands could be the following:

# install the CLI
$ python3 -m venv .venv && . .venv/bin/activate
(.venv) $ pip install opera-api
# print OpenAPI specification
(.venv) $ opera-api openapi
# install prerequisites
(.venv) $ opera-api install
# run xOpera REST API
(.venv) $ opera-api run

Steps

TBD if this will be chosen for implementation.

Current behaviour

The opera-api is run from source code script.

Expected results

To be able to start the API with CLI command.

@anzoman anzoman changed the title Add minor CLI Add CLI for xOpera API Jan 7, 2022
@anzoman anzoman added the enhancement New feature or request label Jan 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant