Skip to content

Set dataset name when pushing single files #204

@anuveyatsu

Description

@anuveyatsu

At the moment, if we push a single file it auto-generates a dataset name. This is very useful but in some cases, users may want to set their own dataset name so they can control it, e.g., repush to the same dataset later.

Acceptance criteria

  • when I push a single file it prompts me to confirm dataset name and title
  • I also can set name with --name=mydataset option

Tasks

  • refactor prepareDatasetFromFile function accroding to analysis

Analysis

  • Check if name property is provided
    • YES - use it as name
    • NO - prompt user to confirm auto generated name (default) or he should type new one
  • Construct title from name and confirm with user (by replacing - with space and capitalizing)

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions