Skip to content

new feature: introduce command oli edit #5593

@TennyZhuang

Description

@TennyZhuang

Feature Description

oli edit [path]
  1. Load a file from the opendal path if exists to a local temp file.
  2. Using $EDITOR or vim to edit the temp file.
  3. When the editor quit, upload the temp file back to the path if changed.

Problem and Solution

How to handle the write error when put failed?

Solution 1: output the temp path in the console, and leave it to the user.
Solution 2: Open the temp file using $EDITOR again.

Additional Context

No response

Are you willing to contribute to the development of this feature?

  • Yes, I am willing to contribute to the development of this feature.

Metadata

Metadata

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions