Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( CommandLike = cli.Command{ Name: "like", Aliases: []string{"li"}, Usage: "Like all or given posts of an user", Description: "Like all or given posts of an user", ArgsUsage: "[GLOBAL ARGUMENTS]", Flags: []cli.Flag{ cli.StringFlag{ Name: user, Usage: "username of the user profile, whose posts to be liked (Ex: bharath.shetty__)", }, }, Action: likePosts, } )
Define all login related commands here
View Source
var ( CommandLogin = cli.Command{ Name: "login", Aliases: []string{"l"}, Usage: "login to your instagram account by providing username and password", Description: "login to your instagram account by providing username and password", ArgsUsage: "[GLOBAL ARGUMENTS]", Flags: []cli.Flag{ cli.StringFlag{ Name: username, Usage: "Username of the Instagram Account", }, cli.StringFlag{ Name: password, Usage: "Password of the Instagram Account", }, }, Action: loginInstagram, } )
Define all login related commands here
View Source
var ( CommandStartServer = cli.Command{ Name: "server", Aliases: []string{"s"}, Description: "start a server to do RESTful calls", ArgsUsage: "[GLOBAL ARGUMENTS]", Subcommands: []cli.Command{ { Name: "start", Description: "start a server to do RESTful calls", Flags: []cli.Flag{ cli.StringFlag{ Name: "port", Usage: "port on which the server should run(default port is 5555)", }, }, Action: startServer, }, { Name: "apilist", Description: "Lists all the API's available ", Action: apiList, ArgsUsage: "[GLOBAL ARGUMENTS]", }, }, } )
Define all server related commands here
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.