Adding more CloudLaunch CLI documentation
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 38/100
- Issue type
- Documentation
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- python
- Domain
- cli, documentation
Research direction
Start with QuickStart/README.md and the cloudlaunch deployments create --help entry point, then compare the documented command with the reported error in cloudlaunch_cli/main.py and cloudlaunch_cli/api/endpoints.py. Update the CLI documentation with the required parameters and a working example; done when a reader can create a deployment without guessing parameters.
Written by the indexing model from the issue text.
Description
- CloudLaunch CLI obtained from following QuickStart/README.md
- Python 3.8.5
- macOS Catalina 10.15.7
Description
I get errors using cloudlaunch deployments create and can't find docs to help me out (see below).
Background
I love the ease and utility of using CloudLaunch through the web interface and would like to learn more about using the CLI. The quick start guide worked as advertised and I can list my deployments with
cloudlaunch deployments list
and I see there is a create option but I don't see any documentation for that beyond what I can get with the --help flag.
cloudlaunch deployments create [OPTIONS] NAME APPLICATION CLOUD
Trying the cmd from the quickstart page and the README.md here yields an error for me (see below). I guess I am missing some "required parameters" like id and I have tried a few variants but would benefit from some documentation and/or guidance. Thanks!
> cloudlaunch deployments create my-ubuntu-test ubuntu amazon-us-east-n-virginia --application-version 16.04
Traceback (most recent call last):
File "/Users/barry/tmpwork/gvl-cmdlaunch/venv/bin/cloudlaunch", line 8, in <module>
sys.exit(client())
File "/Users/barry/tmpwork/gvl-cmdlaunch/venv/lib/python3.8/site-packages/click/core.py", line 829, in __call__
return self.main(*args, **kwargs)
File "/Users/barry/tmpwork/gvl-cmdlaunch/venv/lib/python3.8/site-packages/click/core.py", line 782, in main
rv = self.invoke(ctx)
File "/Users/barry/tmpwork/gvl-cmdlaunch/venv/lib/python3.8/site-packages/click/core.py", line 1259, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/Users/barry/tmpwork/gvl-cmdlaunch/venv/lib/python3.8/site-packages/click/core.py", line 1259, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/Users/barry/tmpwork/gvl-cmdlaunch/venv/lib/python3.8/site-packages/click/core.py", line 1066, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/Users/barry/tmpwork/gvl-cmdlaunch/venv/lib/python3.8/site-packages/click/core.py", line 610, in invoke
return callback(*args, **kwargs)
File "/Users/barry/tmpwork/gvl-cmdlaunch/venv/lib/python3.8/site-packages/cloudlaunch_cli/main.py", line 103, in create_deployment
cloudlaunch_client = create_api_client(cloud)
File "/Users/barry/tmpwork/gvl-cmdlaunch/venv/lib/python3.8/site-packages/cloudlaunch_cli/main.py", line 20, in create_api_client
cloud_resource = cloudlaunch_client.infrastructure.clouds.get(cloud)
File "/Users/barry/tmpwork/gvl-cmdlaunch/venv/lib/python3.8/site-packages/cloudlaunch_cli/api/endpoints.py", line 96, in get
item = self._client.action(document, self.path + ['read'],
File "/Users/barry/tmpwork/gvl-cmdlaunch/venv/lib/python3.8/site-packages/coreapi/client.py", line 160, in action
_validate_parameters(link, params)
File "/Users/barry/tmpwork/gvl-cmdlaunch/venv/lib/python3.8/site-packages/coreapi/client.py", line 80, in _validate_parameters
raise exceptions.ParameterError(errors)
coreapi.exceptions.ParameterError: {'id': 'This parameter is required.', 'slug': 'Unknown parameter.'}
- Dominant language
- Python
- Stars
- 4
- Forks
- 2
- PR merge metrics
- No merged PRs in 30d
Getting set up
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from CloudVE/cloudlaunch-cli
-
Difficulty 1/5 Under an hour Newbie friendliness 62/100
CloudVE/cloudlaunch-cli#10 ·
-
Pass temporary (not persisted) credentials when creating deploymentMay be free again @machristie claimed this 3086 days ago, and no pull request is open. Open
CloudVE/cloudlaunch-cli#11 · 6 comments · 1 assignee ·
-
Difficulty 3/5 1-2 days Newbie friendliness 45/100
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
CloudVE/cloudlaunch-cli#6 · 7 comments ·
All issues in CloudVE/cloudlaunch-cli
Similar issues
-
changelog investigate
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
ramnes/notion-sdk-py#409 ·
-
good first issue help wanted
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
lindicaphxag-tech/kaggle#28 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
BSData/horus-heresy-3rd-edition#3211 ·
Maintainers usually reply within 1 day
-
bug needs-triage
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
Maintainers usually reply within 1 day
-
Unreachable-proxy mount test depends on fixed port 9999Possibly taken A pull request linked to this issue is open or already merged. Openbug tests
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
Maintainers usually reply within 1 day