#ifndef COMMAND_LINE_H
#define COMMAND_LINE_H

#include <string>

class CommandLine {
	public:
	CommandLine();
	~CommandLine();

	int parse(int argc, char** argv);
	bool checksum;
	bool no_write;
	int silent;
	char* host;
	char* username;
	char* password;
	char* admin_username;
	char* admin_password;
	int	 port;
	int admin_port;
	char* workdir;

	int read(const std::string& file);
	int getEnv();
};

#endif // #ifndef COMMAND_LINE_H

