encode / apistar

The Web API toolkit. 🛠
https://docs.apistar.com
BSD 3-Clause "New" or "Revised" License
5.57k stars 411 forks source link

Error: No such command "new" when I use "apistar new." #647

Closed TrojanOlx closed 5 years ago

TrojanOlx commented 5 years ago

Install

$ pip install apistar

Requirement already satisfied: apistar in ./venv/lib/python3.6/site-packages (0.6.0)
Requirement already satisfied: jinja2 in ./venv/lib/python3.6/site-packages (from apistar) (2.10)
Requirement already satisfied: requests in ./venv/lib/python3.6/site-packages (from apistar) (2.21.0)
Requirement already satisfied: pyyaml in ./venv/lib/python3.6/site-packages (from apistar) (3.13)
Requirement already satisfied: click in ./venv/lib/python3.6/site-packages (from apistar) (7.0)
Requirement already satisfied: MarkupSafe>=0.23 in ./venv/lib/python3.6/site-packages (from jinja2->apistar) (1.1.1)
Requirement already satisfied: urllib3<1.25,>=1.21.1 in ./venv/lib/python3.6/site-packages (from requests->apistar) (1.24.1)
Requirement already satisfied: idna<2.9,>=2.5 in ./venv/lib/python3.6/site-packages (from requests->apistar) (2.8)
Requirement already satisfied: certifi>=2017.4.17 in ./venv/lib/python3.6/site-packages (from requests->apistar) (2019.3.9)
Requirement already satisfied: chardet<3.1.0,>=3.0.2 in ./venv/lib/python3.6/site-packages (from requests->apistar) (3.0.4)

create project

$ apistar new .

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

Error: No such command "new".

Helpful tips

$ apistar --help

Usage: apistar [OPTIONS] COMMAND [ARGS]...

Options:
  --help  Show this message and exit.

Commands:
  docs
  request
  validate

This is my version of python

$ python --version

Python 3.6.7

This is the library I installed

$ pip list

Package    Version 
---------- --------
apistar    0.6.0   
certifi    2019.3.9
chardet    3.0.4   
Click      7.0     
idna       2.8     
Jinja2     2.10    
MarkupSafe 1.1.1   
pip        19.0.3  
PyYAML     3.13    
requests   2.21.0  
setuptools 40.8.0  
urllib3    1.24.1  
wheel      0.33.1
tomchristie commented 5 years ago

apistar new isn't a documented command anywhere. https://docs.apistar.com/

It used to be around once upon a time in previous versions, but it's long-since gone. https://github.com/encode/apistar#what-did-the-server-go

rpkilby commented 5 years ago

Aside, "~What~ did the server go?" => "Where did the server go?"