oracle / oracle/oci-cli

Please add --prefix to "os put" command

Open
#653 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
669
Forks
236
Avg merge
1m
Merged PRs (30d)
4

Description

Hello,

I'm playing little bit with the CLI and it is somehow hard for me to understand why --prefix parameter is missing for oci os put command. While I can use bulk-upload and prefix as suggested in #354, I find it quite strange that if I want to upload single file to bucket I don't have an option to specify "folder" (--prefix) to which this file should be uploaded.

Do you think that it would be possible?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the oci os put command and compare its options with the existing bulk-upload behavior described in issue #354. Trace how the single-file upload destination is assembled. Done means os put accepts a --prefix option and places the file under that prefix, with coverage for the new behavior if the command has tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
cli, cloud
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.