priestc / giotto

Python web development simplified
BSD 2-Clause "Simplified" License
59 stars 10 forks source link

Positional arguments #1

Closed priestc closed 11 years ago

priestc commented 11 years ago

Instead of specifying controller data every time with the var name e.g:

#irc
!giotto multiply --x=5 --y=4

# web
http://localhost:5000/multiply?x=5&y=4

#command line
./giotto multiply --x=5 --y=4

It should allow positional arguments like so:

#irc
!giotto multiply 5 4

# web
http://localhost:5000/multiply/5/4

#command line
./giotto multiply 5 4
priestc commented 11 years ago

done