netlify / netlifyctl

MIT License
176 stars 34 forks source link

Fix README typo for site command #66

Closed manico closed 6 years ago

manico commented 6 years ago

Fix netlifyctl sites to netlifyctl site.

calavera commented 6 years ago

Thanks for opening this 🙌

sites is actually an alias, and it should work too:

https://github.com/netlify/netlifyctl/blob/master/commands/sites/sites.go#L17

It would be interesting to add the list of aliases to the readme to be more clear, if you want to do that.

manico commented 6 years ago

It does not work for me. :( I'm on MacBook Pro High Siera.

netlifyctl
calavera commented 6 years ago

You're probably using an older version:

➜  ~ netlifyctl version                             
64badcbad373780a6dae8607c3d0c676507884d4
➜  ~ netlifyctl sites                               
Site                                   Url
happy-borg-f26e76                      http://happy-borg-f26e76.netlify.com
preacher-perkin-51214                  http://preacher-perkin-51214.netlify.com
designer-manners-68256                 http://designer-manners-68256.netlify.com
advisor-offices-70685                  http://advisor-offices-70685.netlify.com
writer-runoff-67217                    http://writer-runoff-67217.netlify.com

You should be able to update with homebrew. The most recent version is 0.2.2.

manico commented 6 years ago

Yup, an older version.