Skip to content

Commit

Permalink
Added CLI menu entry for Report functionality
Browse files Browse the repository at this point in the history
  • Loading branch information
jsblanco committed Sep 17, 2022
1 parent 56483f7 commit b9a7210
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/main/java/com/antoniomasfanclub/model/CLI.java
Original file line number Diff line number Diff line change
Expand Up @@ -202,6 +202,7 @@ private void printCRMOptions() {
printer.println("- To see all details from a specific lead, sales rep, contact, account or opportunity, type '" + colour(Colours.GREEN, Command.LOOKUP.toString()) + "' or the equivalent, followed by the " + colour(Colours.GREEN, "item id"));
printer.println("- To see all current leads, sales reps, contacts, accounts or opportunities, type '" + colour(Colours.GREEN, Command.LIST_LEADS.toString()) + "' or the equivalent");
printer.println("- To convert a lead into an opportunity type '" + colour(Colours.GREEN, Command.CONVERT.toString()) + "' followed by the " + colour(Colours.GREEN, "lead id"));
printer.println("- To look for specific data counts, type '" + colour(Colours.GREEN, "report") + "' followed by your query (i.e., \"Report opportunity by the product Flatbed\" or \"Report closed-won by city Madrid\")");
printer.println("- To close an opportunity, type '" + colour(Colours.RED, Command.CLOSED_LOST.toString()) + "' or '" + colour(Colours.GREEN, Command.CLOSED_WON.toString()) + "' followed by the " + colour(Colours.GREEN, "opportunity id"));
printer.println("- To quit the CRM, type '" + colour(Colours.RED, Command.QUIT.toString()) + "' ");
}
Expand Down

0 comments on commit b9a7210

Please sign in to comment.