From 9f62bdb7726c8194402bb4a61894b3fec17e4d34 Mon Sep 17 00:00:00 2001 From: Elliot Berman Date: Sat, 26 Dec 2015 16:34:03 -0500 Subject: [PATCH 1/6] Reworked commands to utilize subcommand functionality. Early offline development, no guarantees for functionality --- .idea/workspace.xml | 583 ++++++++---------- .../edu/purdue/sigbots/purdueros/cli/App.java | 322 ---------- .../sigbots/purdueros/cli/Application.java | 118 ++++ .../purdueros/cli/commands/Command.java | 70 +++ .../purdueros/cli/commands/CreateCommand.java | 85 +++ .../purdueros/cli/commands/FetchCommand.java | 191 ++++++ .../cli/commands/UpgradeCommand.java | 86 +++ .../purdueros/cli/kernels/DefaultLoader.java | 94 +-- .../sigbots/purdueros/cli/kernels/Loader.java | 41 +- .../purdue/sigbots/purdueros/cli/App.class | Bin 15374 -> 0 bytes .../purdueros/cli/kernels/DefaultLoader.class | Bin 5199 -> 1742 bytes .../purdueros/cli/kernels/Loader.class | Bin 1586 -> 1213 bytes 12 files changed, 823 insertions(+), 767 deletions(-) delete mode 100644 src/main/java/edu/purdue/sigbots/purdueros/cli/App.java create mode 100644 src/main/java/edu/purdue/sigbots/purdueros/cli/Application.java create mode 100644 src/main/java/edu/purdue/sigbots/purdueros/cli/commands/Command.java create mode 100644 src/main/java/edu/purdue/sigbots/purdueros/cli/commands/CreateCommand.java create mode 100644 src/main/java/edu/purdue/sigbots/purdueros/cli/commands/FetchCommand.java create mode 100644 src/main/java/edu/purdue/sigbots/purdueros/cli/commands/UpgradeCommand.java delete mode 100644 target/classes/edu/purdue/sigbots/purdueros/cli/App.class diff --git a/.idea/workspace.xml b/.idea/workspace.xml index 7192b84..3bae259 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -10,20 +10,11 @@ - - - - - - - - - - - + + + + - - @@ -54,71 +45,31 @@ - - + + - - - - - - - - - - - - - - - - - - - - - - - - - + - - + + - - - - - - - - - - - - - - - - - + - - + + - - + + @@ -126,16 +77,6 @@ - - - - - - - - - - @@ -148,6 +89,11 @@ @@ -231,90 +189,73 @@ - - + + + - - - - - - - - - - - - - - - - - - - - - - - @@ -340,7 +281,11 @@ + + + + + - + + - - - - - + + - - - - - @@ -451,11 +409,15 @@ + + + + @@ -792,7 +754,7 @@ - + - + - - - - - - - + + + + - - + + - - - - + + + - + + + - + + + - - - - - - - - - - - - + + + + - - - - + + - - + + + + + + + + + + + + + @@ -946,7 +909,7 @@ - @@ -955,29 +918,30 @@