package com.tmitim.twittercli;

import com.github.rvesse.airline.annotations.Cli;
import com.github.rvesse.airline.help.Help;
import com.tmitim.twittercli.commands.DirectMessage;
import com.tmitim.twittercli.commands.Favorite;
import com.tmitim.twittercli.commands.Location;
import com.tmitim.twittercli.commands.TimeLineCommand;
import com.tmitim.twittercli.commands.Trend;
import com.tmitim.twittercli.commands.Tweet;
import com.tmitim.twittercli.commands.Search;

@Cli(
		name = "twitter",
		description = "Provides a basic example CLI",
		defaultCommand = Help.class,
		commands = { Tweet.class, TimeLineCommand.class, Location.class, Trend.class, Search.class, DirectMessage.class,
				Favorite.class, Help.class }
	)
public class TwitterCli {
	public static void main(String[] args) {

		com.github.rvesse.airline.Cli<Runnable> cli = new com.github.rvesse.airline.Cli<>(TwitterCli.class);
		try {
			Runnable cmd = cli.parse(args);
			cmd.run();
		} catch (Exception e) {
			System.out.println(e.getMessage());
		}
	}
}

@@ -507,41 +507,22 @@
  = %22
-Provides a basic example
+Twitter
  CLI%22,
-%0A%09%09
+ 
 defa
@@ -534,20 +534,31 @@
 mmand = 
-Help
+TimeLineCommand
 .class,%0A

Change default command to timeline