oracle / oracle/oci-cli

Add support for non-interactive bulk-download

Open
#470 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

os object bulk-download provides an interactive prompt when the number of objects exceeds 1000:

You are downloading more than 1000 objects, do you want to overwrite all? [y/N]

This makes it difficult to use bulk-download within a script. Either a non-interactive flag (-y) or an option to provide a threshold greater than 1000 objects (--max-objects 100000) would be useful.

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 at the os object bulk-download command and inspect how it currently prompts when more than 1000 objects are selected. Decide which of the proposed non-interactive approaches fits the CLI conventions, then verify that scripted downloads no longer require a prompt and that the existing interactive behavior remains intact.

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
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.