File nptool.cxx
FileList > src > utility > nptool.cxx
Go to the source code of this file
#include <errno.h>#include <stdio.h>#include <string.h>#include <fstream>#include <iostream>#include <string>#include "NPApplication.h"#include "NPException.h"#include "NPInputParser.h"#include "NPTerminalColor.h"
Public Attributes
| Type | Name |
|---|---|
| std::string | Env |
| std::string | Home |
| std::string | Log |
| std::string | LogShell |
| std::string | PWD |
| std::string | Path |
| std::string | check |
| std::string | cross |
Public Functions
| Type | Name |
|---|---|
| bool | check_env (std::string env) |
| bool | check_install (std::string package) |
| std::string | check_project (std::string project) |
| void | duplicate (std::vector< std::string > List) |
| int | execute_command (std::string & command, bool login=true, bool output=true) |
| void | install (std::string package, bool allow_branch=true) |
| int | main (int argc, char ** argv) |
| void | mv_project (std::string) |
| void | new_env (std::string env) |
| void | new_project (std::string project) |
| void | reinstall (std::string package, bool allow_branch=true) |
| void | remove_env (std::string env) |
| void | remove_project (std::string project) |
| void | uninstall (std::string package) |
| void | update (std::string package) |
| bool | update_remote () |
Public Attributes Documentation
variable Env
std::string Env;
variable Home
std::string Home;
variable Log
std::string Log;
variable LogShell
std::string LogShell;
variable PWD
std::string PWD;
variable Path
std::string Path;
variable check
std::string check;
variable cross
std::string cross;
Public Functions Documentation
function check_env
bool check_env (
std::string env
)
function check_install
bool check_install (
std::string package
)
function check_project
std::string check_project (
std::string project
)
function duplicate
void duplicate (
std::vector< std::string > List
)
function execute_command
int execute_command (
std::string & command,
bool login=true,
bool output=true
)
function install
void install (
std::string package,
bool allow_branch=true
)
function main
int main (
int argc,
char ** argv
)
function mv_project
void mv_project (
std::string
)
function new_env
void new_env (
std::string env
)
function new_project
void new_project (
std::string project
)
function reinstall
void reinstall (
std::string package,
bool allow_branch=true
)
function remove_env
void remove_env (
std::string env
)
function remove_project
void remove_project (
std::string project
)
function uninstall
void uninstall (
std::string package
)
function update
void update (
std::string package
)
function update_remote
bool update_remote ()
The documentation for this class was generated from the following file src/utility/nptool.cxx