Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

remove what command #576

Merged
merged 2 commits into from
Dec 12, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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