summaryrefslogtreecommitdiff
path: root/dice/src/example/java/bjc/dicelang/neodice/commands/HelpCommand.java
blob: c10db4e624a8efba6b99e5d11065b7b3d2b14cd7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
package bjc.dicelang.neodice.commands;

import static bjc.dicelang.neodice.statements.VoidStatementValue.*;

import java.util.*;

import bjc.dicelang.neodice.*;
import bjc.dicelang.neodice.statements.*;

/**
 * Diebox help command. Unimplemented as of yet.
 * @author Ben Culkin
 *
 */
public class HelpCommand implements Command {
	@Override
	public StatementValue execute(Iterator<String> words, DieBoxCLI state) {
		state.output.println("help has not yet been implemented. TODO");
		return VOID_INST;
	}
	
	@Override
	public String shortHelp() {
		return "prints out help for commands";
	}
	
	@Override
	public String longHelp() {
		return "Invoke the help system. Unfortunately, not yet implemented";
	}
}