Skip to content

Fix Project Create #243

@SeanAlexanderHarris

Description

@SeanAlexanderHarris

The project create command is out of date with the API. Requires description and owner fields.

See below to reproduce.

prolific project create --title "Advent-Day-2" --workspace 6920f50a1be7bfb14646881a
Error: error: unable to fulfil request /api/v1/workspaces/6920f50a1be7bfb14646881a/projects/: request failed: map[description:[This field may not be blank.] owner:[This field may not be null.]]
Usage:
  prolific project create [flags]

Examples:

To create a project inside a workspace
$ prolific project create -t "Research into AI" -w 6261321e223a605c7a4f7564


Flags:
  -h, --help               help for create
  -t, --title string       The title of the project.
  -w, --workspace string   The ID of the workspace to create the project in.

Global Flags:
      --config string   config file (default is $HOME/.config/prolific-oss/prolific.yaml)

error: unable to fulfil request /api/v1/workspaces/6920f50a1be7bfb14646881a/projects/: request failed: map[description:[This field may not be blank.] owner:[This field may not be null.]]

Metadata

Metadata

Labels

bugSomething isn't working

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions