petems / tugboat

A command line tool for interacting with your DigitalOcean droplets.
MIT License
1.45k stars 89 forks source link

Slugs don't work #204

Closed adamierymenko closed 8 years ago

adamierymenko commented 9 years ago

In 2.0.0 when you try to use slugs you get things like:

Expected numeric value for '--size'; got "16gb"

Looking at cli.rb it looks like you have ":numeric" as the type when slugs are alphanumeric strings. So slugs don't work at all.

adamierymenko commented 9 years ago

Editing cli.rb and changing these to ":string" seems to fix it.

nuxlli commented 9 years ago

Same problem here for --region:

Expected numeric value for '--region'; got "nyc1"
petems commented 8 years ago

Damn, I think I fixed this in a branch and forgot to merge it, will fix soon! :+1:

petems commented 8 years ago

Fixed and released in 2.0.1 :+1: