Scifabric / pbs

PYBOSSA command line client
GNU Affero General Public License v3.0
10 stars 11 forks source link

"No such command "create_project" #60

Open dvhassel opened 4 years ago

dvhassel commented 4 years ago

Hi,

I've installed PBS through PIP (Win10, Python 3.5) and when I try to create a project by using pbs create_project I get the error

Usage: pbs [OPTIONS] COMMAND [ARGS]...
Try "pbs --help" for help.

Error: No such command "create_project".`

The output of pbs --help is:
`Usage: pbs [OPTIONS] COMMAND [ARGS]...

  Create the cli command line.

Options:
  --server TEXT       The PYBOSSA server
  --api-key TEXT      Your PYBOSSA API-KEY
  --all TEXT          Search across all projects
  --credentials TEXT  Use your PYBOSSA credentials in .pybossa.cfg file
  --project FILENAME
  --help              Show this message and exit.

Commands:
  add-helpingmaterials    Add helping materials to a project.
  add-tasks               Add tasks to a project.
  create-project          Create the PYBOSSA project.
  delete-tasks            Delete tasks from a project.
  update-project          Update project templates and information.
  update-task-redundancy  Update task redudancy for a project.
  version                 Show pbs version.

running pbs create-project works fine and creates the project.

pbs version is 3.0.0.

thunfischtoast commented 4 years ago

Why would you want to use create_project when the command is create-project? I don't see the problem here.

Emmastro commented 1 year ago

@thunfischtoast , on the readme, it's actually written as create_project. Same as the demo projects for geo-encoding, pdf transcription, etc. I'm not sure if the project is still active though :)