Skip to content

Commit

Permalink
remove what command (#576)
Browse files Browse the repository at this point in the history
  • Loading branch information
dev-mlb authored Dec 12, 2023
1 parent 73713c3 commit 36ce9e0
Show file tree
Hide file tree
Showing 6 changed files with 3 additions and 503 deletions.
14 changes: 2 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,10 +79,10 @@ of all the configuration subcommands and a brief description.

Running `./emissary help` will give you the same output as running with no arguments. If you want to see more
detailed information on a command, add the command name after help. For example, see all the
arguments with descriptions for the *what* command, run:
arguments with descriptions for the *server* command, run:

```
./emissary help what
./emissary help server
```

#### Common parameters
Expand All @@ -97,16 +97,6 @@ Logging is handled by logback. You can point to a custom file with the *--logbac

See the *help -c <commandName>* for each command to get more info.

#### What

This command will use the configured engines to identify the file. Emissary currently only comes with the
SizeIdPlace, so the id will be TINY or SMALL etc. See that class for more info. The *-i or --input* argument
is required as well as *-b*. Here is how to run the command

```
./emissary what -i <path to some file>
```

#### Server (Standalone)

This command will start up an Emissary server and initialize all the places,
Expand Down
3 changes: 1 addition & 2 deletions src/main/java/emissary/Emissary.java
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
import emissary.command.ServerCommand;
import emissary.command.TopologyCommand;
import emissary.command.VersionCommand;
import emissary.command.WhatCommand;
import emissary.util.GitRepositoryState;
import emissary.util.io.LoggingPrintStream;

Expand Down Expand Up @@ -56,7 +55,7 @@ public class Emissary {

static {
List<Class<? extends EmissaryCommand>> cmds =
Arrays.asList(ServerCommand.class, HelpCommand.class, WhatCommand.class, TopologyCommand.class, FeedCommand.class,
Arrays.asList(ServerCommand.class, HelpCommand.class, TopologyCommand.class, FeedCommand.class,
AgentsCommand.class, PoolCommand.class, VersionCommand.class, RunCommand.class, EnvCommand.class,
PeersCommand.class, ConfigCommand.class, DirectoryCommand.class);
Map<String, EmissaryCommand> staticCopy = new HashMap<>();
Expand Down
310 changes: 0 additions & 310 deletions src/main/java/emissary/command/WhatCommand.java

This file was deleted.

This file was deleted.

7 changes: 0 additions & 7 deletions src/main/resources/emissary/command/WhatCommand.cfg

This file was deleted.

Loading

0 comments on commit 36ce9e0

Please sign in to comment.