Commit Graph

547 Commits

Author SHA1 Message Date
Jeremy Saenz
5bb6efd8bd JMS #4: Fixed compile error 2013-07-18 18:04:30 -07:00
Jeremy Saenz
393a533b66 JMS #4: Removing tests from command_test 2013-07-18 18:03:40 -07:00
Jeremy Saenz
59b0ce24ef JMS #4: Support for global flags in cli.Context 2013-07-18 18:00:52 -07:00
Jeremy Saenz
3119b075d6 JMS #4: Flag testing 2013-07-18 17:41:22 -07:00
Jeremy Saenz
3f76896c4f JMS #4: Getting some cli tests going. Testing out flags 2013-07-18 17:41:22 -07:00
Jeremy Saenz
04496e4364 JMS #4: More WIP 2013-07-18 17:41:22 -07:00
Jeremy Saenz
3b0fc03a67 JMS #4: Support for flag handling on command line 2013-07-18 17:41:22 -07:00
Jeremy Saenz
ff4e064e21 JMS #4: Formatting 2013-07-18 17:41:22 -07:00
Jeremy Saenz
6f22315082 JMS #4: Parsing command flags with context 2013-07-18 17:41:22 -07:00
Jeremy Saenz
5f85917dc2 JMS #4: TDD Our options map 2013-07-18 17:41:22 -07:00
Jeremy Saenz
e2733adc45 JMS #4: Kinda parsing flags now 2013-07-18 17:41:21 -07:00
Jeremy Saenz
4b4324bb47 JMS #4: Ditched the value for bool flags 2013-07-18 17:41:21 -07:00
Jeremy Saenz
39a21042e1 Update README.md 2013-07-18 11:58:14 -07:00
Jeremy Saenz
22e11159f5 Update README.md 2013-07-18 11:50:15 -07:00
Jeremy Saenz
ad47ead260 Merge pull request #11 from codegangsta/JMS-3
JMS #3: Passing a context struct instead of a string
2013-07-16 08:19:56 -07:00
Jeremy Saenz
96f806fd22 JMS #3: Passing a context struct instead of a string 2013-07-16 08:12:12 -07:00
Jeremy Saenz
598fb195c2 Merge pull request #9 from codegangsta/JMS-2
Renamed DefaultAction to Action. Renamed cli.Action type to cli.Handler
2013-07-16 08:02:45 -07:00
Jeremy Saenz
e2de64ea4d JMS #2: Formmating 2013-07-16 07:54:11 -07:00
Jeremy Saenz
4ab8f6b3e2 JMS #2: Renamed "Action" type to handler. 2013-07-16 07:52:55 -07:00
Jeremy Saenz
c094d7ef44 Update README.md 2013-07-15 08:24:55 -07:00
Jeremy Saenz
cc4efc0fa4 Update README.md 2013-07-15 08:21:26 -07:00
Jeremy Saenz
37d2bc2888 Update README.md 2013-07-15 08:19:49 -07:00
Jeremy Saenz
881cc3da5d Update README.md 2013-07-15 08:06:43 -07:00
Jeremy Saenz
448705699a Update README.md
About
2013-07-15 07:46:24 -07:00
Jeremy Saenz
bde02d1a1a Update README.md
Installation
2013-07-15 07:44:17 -07:00
Jeremy Saenz
e7ff7313a3 Update README.md
Summary & overview
2013-07-15 07:38:47 -07:00
Jeremy Saenz
921da63e2e Support for global flags in help text 2013-07-14 19:16:30 -07:00
Jeremy Saenz
16bf6d4f76 Formatting 2013-07-14 18:19:53 -07:00
Jeremy Saenz
e2b6fffa5d Merge branch 'master' of github.com:codegangsta/cli 2013-07-14 18:18:44 -07:00
Jeremy Saenz
5a624affb8 Yo dawg, I heard you liked the help command...
So I described the help command in your help command
so you can help command while you help command
2013-07-14 18:17:15 -07:00
Jeremy Saenz
3e89d07ecb Create README.md 2013-07-14 18:01:26 -07:00
Jeremy Saenz
bdb9c5ab61 Support for shortnames 2013-07-14 18:00:03 -07:00
Jeremy Saenz
6fa7cfa8a6 Removed commandswithdefaults method 2013-07-14 17:53:59 -07:00
Jeremy Saenz
9186f6e81a Removed error handling and cleaned up template 2013-07-14 17:53:34 -07:00
Jeremy Saenz
5b788be8a6 Formatted help text via templates 2013-07-14 17:37:43 -07:00
Jeremy Saenz
6016cafda3 Removed application object, help formatting 2013-07-14 16:30:58 -07:00
Jeremy Saenz
ef5944640e Getting help in there 2013-07-14 08:15:40 -07:00
Jeremy Saenz
04c645f6c6 Accepting Arg string in App.Run 2013-07-14 07:42:37 -07:00
Jeremy Saenz
0c14bbdc56 More renaming. trying to keep consistent with Flags API 2013-07-14 07:35:08 -07:00
Jeremy Saenz
e72d8e22aa Experimenting with some names 2013-07-14 07:12:21 -07:00
Jeremy Saenz
372b86498f Turning cli into a package 2013-07-13 13:07:14 -07:00
Jeremy Saenz
e830a4195e Formatting 2013-07-13 12:57:04 -07:00
Jeremy Saenz
994660f605 Using anon functions and calling run altogether 2013-07-13 12:53:01 -07:00
Jeremy Saenz
6efb9862ea Attempting to make the composite literals pretty 2013-07-13 12:41:53 -07:00
Jeremy Saenz
19158640aa Formatting 2013-07-13 12:32:54 -07:00
Jeremy Saenz
360e387071 Got a semi working command line setup. 2013-07-13 12:30:21 -07:00
Jeremy Saenz
460c0de4ea Initial commit. Just sketching some possible API ideas 2013-07-13 12:13:48 -07:00