File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ import (
1717 _ "github.com/dfeyer/flow-debugproxy/dummypathmapper"
1818 _ "github.com/dfeyer/flow-debugproxy/flowpathmapper"
1919
20- "github.com/codegangsta /cli"
20+ "github.com/urfave /cli"
2121
2222 "net"
2323 "os"
@@ -28,51 +28,49 @@ func main() {
2828 app := cli .NewApp ()
2929 app .Name = "flow-debugproxy"
3030 app .Usage = "Flow Framework xDebug proxy"
31- app .Author = "Dominique Feyer"
32- app .Email = "dominique@neos.io"
3331 app .Version = "1.0.1"
3432
3533 app .Flags = []cli.Flag {
36- cli.StringFlag {
34+ & cli.StringFlag {
3735 Name : "xdebug, l" ,
3836 Value : "127.0.0.1:9000" ,
3937 Usage : "Listen address IP and port number" ,
4038 },
41- cli.StringFlag {
39+ & cli.StringFlag {
4240 Name : "ide, I" ,
4341 Value : "127.0.0.1:9010" ,
4442 Usage : "Bind address IP and port number" ,
4543 },
46- cli.StringFlag {
44+ & cli.StringFlag {
4745 Name : "context, c" ,
4846 Value : "Development" ,
4947 Usage : "The context to run as" ,
5048 },
51- cli.StringFlag {
49+ & cli.StringFlag {
5250 Name : "localroot, r" ,
5351 Value : "" ,
5452 Usage : "Local project root for remote debugging" ,
5553 },
56- cli.StringFlag {
54+ & cli.StringFlag {
5755 Name : "framework" ,
5856 Value : "flow" ,
5957 Usage : "Framework support, currently on Flow framework (flow) or Dummy (dummy) is supported" ,
6058 },
61- cli.BoolFlag {
59+ & cli.BoolFlag {
6260 Name : "verbose" ,
6361 Usage : "Verbose" ,
6462 },
65- cli.BoolFlag {
63+ & cli.BoolFlag {
6664 Name : "vv" ,
6765 Usage : "Very verbose" ,
6866 },
69- cli.BoolFlag {
67+ & cli.BoolFlag {
7068 Name : "debug" ,
7169 Usage : "Show debug output" ,
7270 },
7371 }
7472
75- app .Action = func (cli * cli.Context ) {
73+ app .Action = func (cli * cli.Context ) error {
7674 c := & config.Config {
7775 Context : cli .String ("context" ),
7876 Framework : cli .String ("framework" ),
You can’t perform that action at this time.
0 commit comments